Hello everyone, I want to implement the above picture of the practice, someone can guide me how to do?
From the beginning to the end, the character is in an idle animation state. My idea is to find the relative position of the current frame character controller and the body (center of mass) in the third step of the idle animation, but I don’t know how to find out.
if your animation “wanders off” from the capsule (ie. the animation root motion is not baked) you will have to separate (unparent) the character from the capsule, and place it on the that position (then parent the character back).
is this a jump?
haven’t checked, but I think (if the animation plays like on the picture) the relative position should be animator.rootPosition as in that case the capsule stays at local (0,0,0). you might want to use animator.pivotPosition, not bodyPosition.
