Smooth crouch

EVG

Member
Good afternoon. I use Height Change for crouch, but the camera changes position abruptly. Can I make the camera position change smooth? I don't use body and animator
 
Since you're not using animations, your character's head's position will just snap when using Height Change, and your camera is probably using the character's transform as its anchor. I think the most straightforward option would be to create a transform separate from the player that smoothly follows it when it changes position (e.g. using MoveTowards), and use this transform as the camera's anchor instead of the player.
 
Top