- Home /
Question by
OtakuDisease · Nov 05, 2021 at 09:49 PM ·
animationrotationanimatorpositionvisual studio
How to set Position and Rotation of character during a Read-only animation (in code perhaps?),Set Position and rotation during animation
I have a character which if at a certain point the "Enter" key is pressed the player should go to sleep. I have a read-only sleeping animation and during this animation (Basically after the press of the "Enter" key) I would like to have my character instantly get moved/snapped onto the bed. However I seem to not be able to get this to work in unity animation. Would it be possible to do this in code? If yes, how?
Comment