Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Ggblake on August 22, 2012, 09:11:07 PM

Title: Trig functions
Post by: Ggblake 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?
Title: Re: Trig functions
Post by: jeanfabre 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 (https://hutonggames.fogbugz.com/default.asp?W971)

bye,

 Jean