Basically I have been working on a first person parkour game.
So I have set up animations in my game but the problem is whenever the animation occurs the player does the animation and the camera stays stationary. I want it so the that camera moves and rotates with the players head.
Problem 2(bonus problem)
Whenever the animation ends the player returns to the position that it was at before the animation was played. I want it so that the animations ends and the players position is where the end of the animation is.
How can I keep the camera attached to players head during animations and how can I make the animations ending position the players physical position after the animation has ended
How can I apply root motion I did it on the animator but I can’t do it on the animation.