Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: unearthly on December 06, 2016, 07:37:36 PM
-
Hi all.
Made a set of animations for weapon handling attached to a first person controller. I did this in a 3D application imported into Unity as an FBX. I am not using Animator. Thought all I had to do was assign button presses via Playmaker. I was so wrong, much more to do.
The first thing I would like to do is change from one animation to another dependent on the controllers speed (an idle animation, to a run animation), then back again when the player moves under a set speed.
I am guessing I can use 'Get Game Object Speed' with a float variable. Don't really know what to do next. Perhaps something to store that variable and something to reference it for the value at which I want the other animation to run.
Appreciate feedback. This will probably be the first of many posts asking for help to run these animations.
-
OK I did this. It's measuring the game object speed but not transitioning to the other animation. What needs to be changed?
-
I solved this a while ago storing the objects speed in a global variable and using that with a parameter in Animator to trigger the animation.