IWebXRControllerPhysicsOptions

Options for the controller physics feature

Hierarchy

  • IWebXRControllerPhysicsOptions

Index

Properties

Optional enableHeadsetImpostor

Find examples in Playground
enableHeadsetImpostor: boolean

Should the headset get its own impostor

Optional headsetImpostorParams

Find examples in Playground
headsetImpostorParams: object

Optional parameters for the headset impostor

Type declaration

  • Optional friction?: number

    Friction definitions

  • Optional impostorSize?: number | object

    the size of the impostor. Defaults to 10cm

  • impostorType: number

    The type of impostor to create. Default is sphere

  • Optional restitution?: number

    Restitution

Optional physicsProperties

Find examples in Playground
physicsProperties: object

The physics properties of the future impostors

Type declaration

  • Optional friction?: number

    Friction definitions

  • Optional impostorSize?: number | object

    the size of the impostor. Defaults to 10cm

  • Optional impostorType?: number

    The type of impostor to create. Default is sphere

  • Optional restitution?: number

    Restitution

  • Optional useControllerMesh?: 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!

xrInput

Find examples in Playground
xrInput: WebXRInput

the xr input to use with this pointer selection

Generated using TypeDoc