Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Splankton on April 27, 2015, 02:21:06 PM
-
Hi,
If I have my player moving in one axis (x) I need to set the running animation speed relative to how fast or slow he moves. How can I do this?
I've thought of getting the speed of the player then somehow converting that into a normalize value, so the animation can be set with that.
Can someone point me in the right direction, or give me some tips on how I can do this?
-
I use the "Get game object speed" action- its on eco-system- then I use that float to drive a "speed" mecanim float parameter to set the animation/animation speed-
Can use a "float multiply" to adjust the original speed var to an a range you want
-
Thanks!