I downloaded a model from the Asset Store: Unity Asset Store - The Best Assets for Game Making
But in the sample scene I noticed that the model doesn’t move via script, but via its animation.
How can I prevent the movement from the animation, so I can script it on my own?
Uncheck apply root motion from animator
It’s unchecked, but when the models starts moving - it automatically checks itself. I checked the script and all I see is animator.SetBool(“Idling”, false);. I don’t see “animator.applyRootMotion = true”.
After I write “animator.applyRootMotion = false” right after setting the Idling boolean to false - the model freezes (which is good). But I’d guess that the animation itself sets the boolean to true.
Can you guide me a bit how can I disable this automatic value change? I’m new to Unity ![]()
You can try searching through the solution for any classes that have “animator.applyRootMotion”, if you still can’t get something I’d suggest contacting the developer by their support email (https://www.assetstore.unity3d.com/en/#!/search/page=1/sortby=popularity/query=publisher:15260). The button is under the publisher’s picture.
There was a script called “RootMotionOff”, which wasn’t attached to anything, but when I commented everything in it - the model stopped moving on its own ![]()