Hi,
am trying to lock the avatar from moving sideways.
I tried using below approach but its not working
camera.lowerRadiusLimit = camera.radius;
camera.upperRadiusLimit = camera.radius;
pls suggest…
Hi,
am trying to lock the avatar from moving sideways.
I tried using below approach but its not working
camera.lowerRadiusLimit = camera.radius;
camera.upperRadiusLimit = camera.radius;
pls suggest…
Trying alternative option, by rotating the camera around the object.
camera.setPosition(new BABYLON.Vector3(0, 0, 10));
scene.activeCamera.alpha += .01;
If i can lock the avatar in one position and rotate the camera 360 degrees. it would be great…
pls suggest
Maybe you want to limit the alpha bounds?
camera.upperAlphaLimit = camera.alpha;
camera.lowerAlphaLimit = camera.alpha;
Thanks @Evgeni_Popov … it got locked on sideways.
But am unable to view the avatar backside…
can we rotate 360 degrees without changing the position ?
Is this what you want?
Thnks @Evgeni_Popov
u nailed it…