Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: santelia on July 11, 2012, 04:38:38 AM

Title: Sine and cosine?
Post by: santelia on July 11, 2012, 04:38:38 AM
Any idea on how to use playMaker to compute typical geometric/trigonometric operations?
It's useful, not to say indispensable, in many route cases.
E.g., when you have to compute things
Code: [Select]
like position.x + (sine(playerAngle) * speed * deltaTime or any other computation where a position along a circle is involved.
Any help?
Title: Re: Sine and cosine?
Post by: jeanfabre on July 11, 2012, 06:29:29 AM
Hi,

 started with Sin, more coming soon. If anyone wants to step in to decline the rest of the trigo functions, you are welcome of course.

http://hutonggames.com/playmakerforum/index.php?topic=1923.0 (http://hutonggames.com/playmakerforum/index.php?topic=1923.0)

 bye,

 Jean