Find WebXRCamera's reference space location

I’ve been digging and hunting, but I can seem to figure out what property on the camera is the reference space location. Is there a value different than the camera location?

The goal is to have to the player position not move with the camera, to allow the player to peek around things, without moving the player position. Image in player is in a car. I want to be able to lean forward and look without the car moving.

Typically a simple parenting solution, but adding a parent to the WebXRCamera seems to cause some havoc.

Thanks

Adding @RaananW for the XR questions.

2 Likes