Rotate camera slowly to a target

Hello,
You can use an animation to update the position of the camera target.
Take a look at the doc for more information:
https://doc.babylonjs.com/babylon101/animations

You can find an example of a very basic camera’s target animation in my neon demo, at line 274 of the PG, I use CreateAndStartAnimation on the ‘target’ property of the camera:

Another way to do the same is to update the rotation/position in the render loop but I think using animation is the easiest way to do it.

2 Likes