Class IWebXRControllerPhysicsOptions
Hierarchy
- IWebXRControllerPhysicsOptions
Index
Properties
Optional enable Headset ImpostorSearch playground for enableHeadsetImpostor
Should the headset get its own impostor
Optional headset Impostor ParamsSearch playground for headsetImpostorParams
Optional parameters for the headset impostor
Type declaration
-
Optional friction?: number
Friction definitions
-
Optional impostor
Size?: number | { depth: number; height: number; width: number } the size of the impostor. Defaults to 10cm
-
impostor
Type: number The type of impostor to create. Default is sphere
-
Optional restitution?: number
Restitution
Optional physics PropertiesSearch playground for physicsProperties
The physics properties of the future impostors
Type declaration
-
Optional friction?: number
Friction definitions
-
Optional impostor
Size?: number | { depth: number; height: number; width: number } the size of the impostor. Defaults to 10cm
-
Optional impostor
Type?: number The type of impostor to create. Default is sphere
-
Optional restitution?: number
Restitution
-
Optional use
Controller Mesh?: boolean If set to true, a mesh impostor will be created when the controller mesh was loaded Note that this requires a physics engine that supports mesh impostors!
xr InputSearch playground for xrInput
the xr input to use with this pointer selection
Options for the controller physics feature