class VRTrackedObject : Component

book_4_sparkGenerated
code_blocksInput

Description

The VRTrackedObject class in the Sandbox.VR namespace is responsible for updating a GameObject's transform based on a specified tracked object, such as a VR controller or head-mounted display (HMD). This component is essential for integrating VR hardware tracking into your s&box projects, allowing for real-time updates to object positions and orientations based on user movements.

Members

Properties

Member Name Summary
PoseSource Determines which tracked object is used to update the transform.
TrackingType Specifies which parts of the transform should be updated, such as rotation or position.
UseRelativeTransform Indicates if the transform should be relative to the VR anchor instead of an absolute world position.