Hi people.
I am using Root Motion to control my character.
Everything work’s fine but this animation issue I am having.
Character is on the side of a cube, when i press a button he climb that cube.
Problem is that when animation finish it goes back to its original position.
To avoid this I can check Bake Into Pose for Y-X-Z. And with that checked, when the animation finish it doesn’t goes back to its original position but animation is always in the same position. Let me clear this:
Without Bake Into Pose
Character is on the side of a cube. Then start running the animation and he’s now on the top of the cube, but when animation ends (or blend with another one) he goes back to his original position (the side of the cube) instead of stay in this place. It’s like the collider and rigidbody isn’t moving with the animation.
With Bake Into Pose
Character is on the side of a cube. Then start running the animation but it’s running always on the same XYZ position. The animation is running at the same position where it started: the side of the cube.
What i want to achieve?
When the animation ends and the character is on the top of the cube I don’t want it to goes back to his start position.
For doing this i tried, without baking, calculating the end of the animation position and when the animation is about to end move the gameobject to that position. That didn’t work because i moved the whole character. A mess.
I have no idea what to do.
Regards.