Hi.
I’m experimenting with cameras. I’m trying to make a free camera but with fixed rotation on beta. The arcrotate camera has properties to limit the beta but the universalcamera does not. So i used this code to force the camera position and rotation:
scene.beforeRender = function() {
camera.position.y = 100;
camera.rotation.x = 120;
};
but this is called every time the scene is rendered.
Is there a better way ?