playMaker

Author Topic: Trig functions  (Read 2236 times)

Ggblake

  • Playmaker Newbie
  • *
  • Posts: 5
Trig functions
« on: August 22, 2012, 09:11:07 PM »
I need to rotate a vector used in addforceatposition. The original vector will get multiplied by the cosine of the desired change and the degrees converted to radians. Is cos and deg2rad accessible in playmaker?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Trig functions
« Reply #1 on: August 29, 2012, 03:01:37 AM »
Hi,

 yes, I made a series of trigo actions a while ago:

https://hutonggames.fogbugz.com/default.asp?W971

bye,

 Jean