Hello, could you please help me with the following.
I am using an ArcRotateCamera, and set its lowerBetaLimit to null , in order to allow it to move freely, without constraints, in its beta axis.
I want to animate the camera’s target and toggle its position up or down.
Everything works fine provided one does not rotate the view upside down.
In this playground here : https://playground.babylonjs.com/#HZ9RQC#1
Press the “Click me” button at the top right corner. The camera’s target moves down. ( good ).
Then, press that button again. The camera’s target moves up again ( good ).
Now, drag to rotate the view until you view the scene from the bottom ( floor on top, ball beneath it ).
Press that “Click me” button again : the view abruptly “jumps” as if you no longer see it from the bottom but from above.
Why does this happens and how can I fix it? ( I do not want the “perspective” to change at all , I want only the camera’s target to animate )
Many thanks for your time