PlayMaker Help & Tips > PlayMaker Help
Is there an If function for idle? [SOLVED]
Micah:
I have been wondering if there is an "if" function for when the character is idle. (I can't use the animator, so that won't be a solution). So if the charactercontroller is not moving then x = y. Something like that? Kind of like there is an "IF" function for grounded.
jeanfabre:
Hi,
yes, check the GameObjecr speed and compare it to less than 0.1, which means it's staying in place.
Bye,
Jean
Micah:
What is the name on the action that does this?
djaydino:
Hi.
I think you are looking for "Float Compare" :)
Micah:
hmmm. I'm not sure. What I am using is Vector3 so how would the float relate to it?
I also coded the movement. I didn't use controller simple move.
Navigation
[0] Message Index
[#] Next page
Go to full version