SteamVRTrackedObject

altspace/utilities/behaviors. SteamVRTrackedObject

The SteamVRTrackedObject behavior updates an objects position and rotation to match the location of a SteamVR input device. A SteamVRInput behavior must be on the scene containing this object for it to function properly.

Constructor

new SteamVRTrackedObject(configopt)

Parameters:
Name Type Attributes Description
config Object <optional>
Properties
Name Type Attributes Default Description
hand string <optional>
"first"

the input device to track. Eitehr SteamVRInput.LEFT_CONTROLLER, SteamVRInput.RIGHT_CONTROLLER, or SteamVRInput.FIRST_CONTROLLER

Extends

Members

type :string

The string name of this class. This is used for THREE.Object3D#getBehaviorByType.

Overrides:

Methods