Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: christougher on April 25, 2015, 03:28:55 PM
-
For those animations which are in-place but we would like to add root motion using the OnAnimatorMove function could really make things easier. I hope this isn't recreating the wheel but I've thus far been unable to figure it out...
here's the unity doc reference:
http://docs.unity3d.com/Manual/ScriptingRootMotion.html
-
Hi,
I created a PlayMakerAnimatorMoveProxy for custom actions to catch the OnAnimatorMove call. It's in the Mecanim Pacakge on the wiki:
https://hutonggames.fogbugz.com/default.asp?W1031
I use it in the action "SetAnimatorTarget" for example. The action works on regular update by default, but if you drop a PlayMakerAnimatorMoveProxy on the GameObject, then it will catch that and work on Animator Move.
Let me know if that works for you, else, if you have a case, that would be great, then I can build the proper setup so that you can do it in PlayMaker.
Bye,
Jean