🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Camera position and look interpolation, looking for code

Started by
1 comment, last by taby 3 years, 2 months ago

i have a set of predefine camera position and look that switches when a button is clicked,

It defaults with the first position, and when switches it in sequential manner, right now, ill just set the position and look directly without any animation or transition.

whats the most effective way and smooth to transitions between these positions and look?

Advertisement

there is LERP and SLERP to consider

The most smooth transition is a curve, which moves the camera to the final position over time. In Unity for example I was able to utilize the Animation class for that but as you didn't add Unity in your tags, you need to calculate that by yourself

This topic is closed to new replies.

Advertisement