- Home /
Get position from root motion?
Hi,
I move my game objects by script with all my animations "in place". However I have one animation which is really hard to move by code (a character climbing over a wall, it's a nightmare to calculate exactly how much to move on the axis and the speed): I was thus thinking of using the root motion, and at the end of the animation bake the position to the new position of the character.
Example: - the character moves forward, but the position of the root motion doesn't move - at the end of the animation, be able to set the position of the transform on the new position of the character, as if it had moved
Is there any way to get the position of this position?
Thanks!
the character moves forward, but the position of the root motion doesn't move
If the character does not move, what are you moving? )