API

Interface IWebXRWalkingLocomotionOptions

Options for the walking locomotion feature.

interface IWebXRWalkingLocomotionOptions {
    locomotionTarget: TransformNode | WebXRCamera;
}
Index
locomotionTarget: TransformNode | WebXRCamera

The target to be moved by walking locomotion. This should be the transform node which is the root of the XR space (i.e., the WebXRCamera's parent node). However, for simple cases and legacy purposes, articulating the WebXRCamera itself is also supported as a deprecated feature.