I need help with smoothly tilting the camera with code or animations when strafing left and right. I got it kinda working with vector3 lerp but it blocked up and down camera movement and i have no idea how to do it properly. My current code is camera.rotation_degrees.z = -horizontal_velocity
. I'm using the velocity to rotate the camera temporarily but i want to have a static rotation of 10 degrees.
How to smoothly tilt the camera
Asked Answered
Earthen Insert an additional node into camera rig hierarchy and rotate only that node for tilting.
© 2022 - 2024 — McMap. All rights reserved.