- Home /
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
Information Basically I have been working on a first person parkour game. problem 1 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. Thx
how is the camera following the player? if it was attached to the head transform it would move with it.
either activate root motion, which will add the animation distances to the real position, or teleport the transform the moment the animation ends to where it was at the last frame.
Answer by David20711 · Oct 16, 2018 at 04:50 PM
How can I apply root motion I did it on the animator but I can't do it on the animation.