Hello.
I have a camera in my scene, and I cannot figure out how to make it rotate smoothly. I understand how to make it rotate, but not with any damping.
How would this be done?
- Tate
Hello.
I have a camera in my scene, and I cannot figure out how to make it rotate smoothly. I understand how to make it rotate, but not with any damping.
How would this be done?
Take a look at Quaternion.Slerp
(Vector3.Lerp and angles can cause some interesting and fearsome bugs and using Quaternions is safer and faster than using Vector3.Slerp).
Rotate a proxy, then slerp between your actual transform’s rotation to the proxy’s rotation.