I have various animations from the asset store which I intend to use within my game, currently I am looking to introduce some combat stance animations. All my current general movement animations are within an animator using Mecanim and they all have root motion in-built, i.e. they have velocity and the animation causes the character to move across the map.
I have imported some new combat based animations which were originally set to Legacy, I changed them to Humanoid for use in the animator but they have no average velocity, i.e. they are in-place animations and don’t make the character move. I understand that to make these move the character I need to attach a root motion script and call OnAnimatorMove to set the characters transform based on the animator parameters.
The problem I’m facing is that this affects all my animations, is there a way to only use this script for the specific in-place animations but use default root motion for all the others that work fine?
Thanks in advance.