Interface: LocomotionState
Defined in: xrblocks-uiextensions/src/desktop-locomotion.ts:62
Mutable locomotion state. x/z are ground position; y is eye height.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
grounded | boolean | True when standing on the ground (jump allowed). | xrblocks-uiextensions/src/desktop-locomotion.ts:70 |
verticalVelocity | number | Vertical velocity, m/s. Zero while grounded. | xrblocks-uiextensions/src/desktop-locomotion.ts:68 |
x | number | - | xrblocks-uiextensions/src/desktop-locomotion.ts:63 |
y | number | Current eye height (includes any jump arc). | xrblocks-uiextensions/src/desktop-locomotion.ts:66 |
z | number | - | xrblocks-uiextensions/src/desktop-locomotion.ts:64 |