Profile image

Sin Cos Tan - Question

1,236 tirpitz0309  7 months 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
    95.0k 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

    7 months ago
  • Profile image
    30.0k TriStar

    Good, now put it in a circle

    7 months ago
  • Profile image
    35.8k Graingy

    The what.

    +1 7 months ago
  • Profile image
    17.7k FlirBlitz

    i dont speak triangle

    +1 7 months ago
  • Profile image
    1,236 tirpitz0309

    @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!

    7 months 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 7 months ago
  • Profile image
    69.7k 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 7 months ago
  • Profile image
    1,236 tirpitz0309

    @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😭

    7 months ago
  • Profile image
    1,236 tirpitz0309

    @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 ;)

    7 months ago
  • Profile image
    49.3k PlaneFlightX

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

    +1 7 months ago