Hello
I want to change the position of a gameobject and play the animation at the same frame.
What I did :
I am trying to create a ledge climb mechanics.
I first search for whether the player can grab a ledge. If yes,the rigidbody type is set to kinematic and the animator plays the “ledgeclimb” animation.
The last frame of ledgeclimb has an animation event which calls a function.
This function changes the rigidbody position to above the ledge plays the idle animation, , and then changes the rigidbody type to dynamic.
But when the player climbs and at the last frame , the position is changed the new animation starts playing after one frame. Due to the reason both animations have different pivot points, This seems like a glitch.
Is there anyway around this other than changing the pivot points.
Thanks!