API

Function updateMotionController

  • Update a controller's animatable nodes from its live gamepad — press a trigger and the trigger geometry depresses, push a thumbstick and it tilts. Call once per XR frame while the source is tracked. A no-op when gamepad is null.

    Parameters

    Returns void