There is an object3D parent-child chain hierarchy.
I’m using .setRotationFromQuaternion() to rotate 2Dcamera’s parent according to XR camera.
A mesh is also child of the same parent.
While the parent rotates, the child-mesh rotates too, that is, it updates both its position and orientation, but the child-camera while updates its position, it does NOT update its orientation, so it keeps looking at the initial target based on its direction when WebXR session started (no target was specified)!
This didn’t work:
camera.updateMatrix(); camera.updateMatrixWorld(true); camera.updateProjectionMatrix();
How can I made the child-camera …stop staring at that point and update its orientation too?