Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: mmzbr on October 15, 2012, 03:33:19 PM
-
Could someone help me with this question:
I need to trigger an event when a specify object get the value of 90 in Rotation Y Axis.
Which actions should I use for this?
-
Hey there,
you could use "Get Rotation" , then save the Y rotation as a float called "Y".
Then you can use float compare to compare "Y" to 90 . put the event as the equal event and use a tolerance to make it +- that value. If you want the event to be triggered if Y is 90 or bigger, set the event both as equal and as greater than.
-
Hey there,
you could use "Get Rotation" , then save the Y rotation as a float called "Y".
Then you can use float compare to compare "Y" to 90 . put the event as the equal event and use a tolerance to make it +- that value. If you want the event to be triggered if Y is 90 or bigger, set the event both as equal and as greater than.
Thank you very much. I´ll try!