Question by
rokyslash · Apr 11, 2017 at 07:13 AM ·
animatormecanimfunctionanimator controllernot working
Mecanim OnAnimatorMove function not being called?
I have attached a script which has this line in it.
void OnAnimatorMove ()
{
Debug.Log ("hello");
}
This script is attached to a gameobject that has animator component. However this function is never being called. What do I need to do to get this line printed?
Comment
Best Answer
Answer by hexagonius · Apr 11, 2017 at 03:25 PM
The animator must make use of root motion
Your answer
Follow this Question
Related Questions
Animator Controller sets default values even if Write Defaults is disabled 0 Answers
Problems with using the same Animator Controller on multiple objects. 0 Answers
How to make character animate as he's rotating? 2 Answers
How to call 'Animator.Play' without wait for FixedUpdate? 0 Answers
Is there a possibility to reuse substate machines in other animator? 0 Answers