API

Interface MotionController

A loaded, node-bound motion controller. Create with loadMotionController, drive each frame with updateMotionController. Plain data — the owner positions root at the grip pose and disposes container.

interface MotionController {
    container: AssetContainer;
    profileId: string;
    root: SceneNode;
}
Index
container: AssetContainer

The loaded asset container (owner adds it to the scene + disposes it).

profileId: string

The resolved profile id (e.g. "oculus-touch-v3").

root: SceneNode

The model root node — position/orient this at the controller's grip pose.