Adding Custom Actions
Last updated
Last updated
Your only a few steps away from adding custom animation actions to your iMove player!
Select your animation in the project hierarchy and ensure your Rig is set to Humanoid. Don't forget to click Apply!
Change your animation settings to look similar to these settings. This is important because we are using root motion from the animation to drive the movement of the character. If the character isn't quite moving as expected, you may need to tweak these settings.
Don't forget to click Apply near the bottom right.
On your player > iMove > Animations > Click the (+) button.
Fill out the animation options. The Name is what you will use when calling iMove.PlayAnimation("flip")
On your player > GVS Player Input > Add custom input binding.
Assign an input action from your (Unity Input Action Reference) to the iMove.PlayAnimation().
While still inspecting the animation, open the Animation tab.