Hi all,
I’d like to fix my XRCamera at a single point in space but still allow rotation. How might I achieve this?
Thanks!
Mark
Hi all,
I’d like to fix my XRCamera at a single point in space but still allow rotation. How might I achieve this?
Thanks!
Mark
Hey,
this is very much not recommended when in VR. a recipe for headaches…
Having said that, you can set the camera’s position on each frame. This will force the camera to stay in place. Something along the lines of:
scene.onBeforeRenderObservable.add(() => {
amera.position.set(0,1,0);
});
Thanks Raanan!
How is the camera setup for things like 360 video? Do they lock camera position or is there a degree of freedom in movement?
A videoDome is a huge sphere (the default is 1000 units), so movement is not noticeable. The user can, however, move around freely in the space they have (in the real world).