Rotating the camera around the object from default position

I am looking for a way to rotate the camera around the object, I need something similar to this.
Note: These functions rotates the camera from it’s default value, so I will always get the same angle from the same value. Some of the functions just add values on each other.

I believe you may use ArcRotateCamera and change its alpha and beta values with sliders as in the example.

2 Likes

That’s working. Is there a way to add animation?
Now it’s just teleporting me to that coordinates.

Here is the thread - How to build animation for ArcRotateCamera so it can rotate smoothly - #5 by labris
There are different solutions, this one seems to be what you are looking for - https://playground.babylonjs.com/#MPR42Y#3

That’s working. Thanks

1 Like