Post: sin() / cos() help
11-16-2015, 04:27 AM #1
thahitcrew
Gym leader
(adsbygoogle = window.adsbygoogle || []).push({}); how would I use the sin() and cos() functions to create 3D helical motion in a custom function I'm working on?
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked thahitcrew for this useful post:

Exelo
11-16-2015, 03:25 PM #2
-Numb
You talkin to me?
Originally posted by thahitcrew View Post
how would I use the sin() and cos() functions to create 3D helical motion in a custom function I'm working on?


sin(number); and cos(number); will calculate the sine and cosine of the input.
I don't know how you can use that to make the 3D motion thing, but here is an example of how to use it:
    self iprintlnbold(sin(90));
will print 1 on your screen since the sine of 90 is 1.
11-16-2015, 08:20 PM #3
thahitcrew
Gym leader
Originally posted by Numb View Post
sin(number); and cos(number); will calculate the sine and cosine of the input.
I don't know how you can use that to make the 3D motion thing, but here is an example of how to use it:
    self iprintlnbold(sin(90));
will print 1 on your screen since the sine of 90 is 1.


not exactly the answer i was looking for :P but yeah i figured out the equation i needed to get the origin and angles for what i needed the sin(<angles> ) / cos(<angles>Winky Winky functions to do. So yeah thanks for responding and atleast trying to help, i appreciate it.

hey mods you can close this thread
11-17-2015, 03:25 AM #4
Exelo
Banned
Wow first interresing question I have ever seen here. Smile

The following user thanked Exelo for this useful post:

MCabCon

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo