Profile image

Sin Cos Tan - Question

953 tirpitz0309  26 days ago

In what type of creations do you use the trigonometric functions in Funky Trees?

Graph im learning:

  • Log in to leave a comment
  • Profile image
    83.3k ReinMcDeer

    Pretty much any time you want something to oscillate/cycle
    I also used it on my Abrams to know where the turret is facing

    25 days ago
  • Profile image
    29.6k TriStar

    Good, now put it in a circle

    25 days ago
  • Profile image
    25.9k Graingy

    The what.

    +1 26 days ago
  • Profile image
    16.5k FlirBlitz

    i dont speak triangle

    +1 26 days ago
  • Profile image

    @TheFlightGuySP Thank you very much for the information! Although the truth is it is quite complex if we leave aside the fact that I started to understand this topic 2 hours ago! I'm going to try to learn how this works to make a functional war robot!

    26 days ago
  • Profile image

    Sine and Cosine interpolate between a range of values. If you plug in sin(x) into a graphing calculator, you'll notice the line will curve up and down continuously like this.

    This can be helpful for things like walkers/other stuff that requires cycling. If you plug in something like

    (sin(Time) / 200) * Throttle
    

    it will output a continuously interpolating value (assuming conditions, like Throttle in this case, will allow it to do so).

    Cosine and Sin are inverse, too. Both essentially do the same thing, just with one of them outputting opposite values from the other.


    Tangent is a little bit different. Output over time looks something like this.

    Examples of these used in a circle, for circle things.

    +2 26 days ago
  • Profile image
    51.6k Monarchii

    @tirpitz0309 I actually made a walker with the sin and cos function on my Syahuur-Dzhamiv although it doesn't work as well as I'd hope it would, but if you want to take a look at an example, it's there

    +1 26 days ago
  • Profile image

    @tirpitz0309 Anyway, I'm on another PC and I have SimplePlanes on my main PC and I don't know how to change its directory ;-; and to make matters worse... I forgot my password and Steam username😭

    26 days ago
  • Profile image

    @PlaneFlightX Thanks for the example, I ask this because I always wanted to make a robot that can walk but I realized that the pistons that make up the legs contain this rule and I don't know how it works, although I am also interested in other creations that can use the sin, cos and tan ;)

    26 days ago
  • Profile image
    46.6k PlaneFlightX

    One application of trigonometry is an ILS, although there are many, many others.

    +1 26 days ago