playMaker

Author Topic: Sine and cosine?  (Read 3109 times)

santelia

  • Junior Playmaker
  • **
  • Posts: 78
Sine and cosine?
« 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Sine and cosine?
« Reply #1 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

 bye,

 Jean