Hi there.
I have a Mesh and able to rotate it, but how can i achieve like rotation only to left and right not required to rotate up and down.
Thanks in advance
camera.upperBetaLimit = BABYLON.Tools.ToRadians(90)
camera.lowerBetaLimit = BABYLON.Tools.ToRadians(90)
Example - https://playground.babylonjs.com/#RLHYBS#4
Please note, that you rotate not mesh, but camera.
6 Likes
Thanks for the information and solution about rotation @labris.