It appears using billboard mode on meshes in VR don’t really work. The issue is as you move your head around the billboard rotates while still in the frustum giving unwanted movement. Reading the docs lookAt seem to be a decent alternative.
const camPos = this.vrHelper.webVRCamera.devicePosition .clone() .add( new Vector3( 0, this.vrHelper.webVRCamera.deviceDistanceToRoomGround(), 0 ) ) m.lookAt(camPos);
However without the addition to the Y axis its pointing at my feet.
- Why do I need the offset for the lookAt?
- When the headset is on the ground it says 0.55 for this.vrHelper.webVRCamera.deviceDistanceToRoomGround() so this seems odd even though the content is correctly place on ground.
- Could there be a billboard mode for VR where it updates to use the vr camera’s position instead of rotation? Other wise you have to do a lot of onBeforeRenderObservable to emulate the correct behavior.