Api Sandbox VR VRTrackedObject
class

VRTrackedObject

public class VRTrackedObject : Component

Updates this GameObject's transform based on a given tracked object (e.g. left controller, HMD).

Constructors

VRTrackedObject()

Properties

Name Type Description
PoseSource PoseSources Which tracked object should we use to update the transform?
PoseType PoseTypes Which pose type to use (only applies to hand controllers, not the head). Grip is centered on the palm, Aim points forward for aiming/pointing.
TrackingType TrackingTypes Which parts of the transform should be updated? (eg. rotation, position)
UseRelativeTransform Boolean If this is checked, then the transform used will be relative to the VR anchor (rather than an absolute world position).
Assembly: Sandbox.Engine Namespace: Sandbox.VR Full Name: Sandbox.VR.VRTrackedObject