Hello
I am using ArcRotateCamera to be able to view a mesh in any direction. And I expect the user may rotate the mesh in beta
arc a lot so I set huge values to camera.lowerBetaLimit
and camera.upperBetaLimit
.
When I rotate the camera to certain beta
range (ex. -pi/2 ~ -3*pi/2, and so on), the rotation in alpha
arc is inverted. When I drag left, mesh rotates right. How can I fix this issue?
In PG1, by setting the betaLimit to null, this behavior is resolved. However, I cannot set nor delete betaLimit attributes to null because I’m using typescript.
PG2 is my current setting/repro.
How may I update PG2 to get same behavior as PG1?
PG1 : https://playground.babylonjs.com/#SRZRWV#509
PG2 : https://playground.babylonjs.com/#SRZRWV#1202