Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Fredgee on July 01, 2015, 09:49:10 AM

Title: Rotation help
Post by: Fredgee on July 01, 2015, 09:49:10 AM
Hi,  can anyone tell me how I could tell the direction an object is rotating ? Say rotating  left or rotating  right?  Or which way my camera is rotating (left or right)?  Many thanks.

Maybe it's obvious?  Just can't work it out.
Title: Re: Rotation help
Post by: djaydino on July 01, 2015, 02:01:24 PM
i saw something on the unity3d forums (http://answers.unity3d.com/questions/554291/finding-a-rigidbodys-rotation-speed-and-direction.html)

and i think you can do this with a "get rotation" action and use a "float compare" action
Title: Re: Rotation help
Post by: Fredgee on July 01, 2015, 02:40:46 PM
Hey thanks I'll give it a try.. :)