class TrackedObject

book_4_sparkGenerated
code_blocksInput

Description

The TrackedObject class in the Sandbox.VR namespace represents a physically tracked VR object with a transform. It provides properties to access the object's state, such as its velocity, angular velocity, and transform in world space.

Members

Instance Members

Member NameSummary
ActiveWhether or not this object is currently accessible (if false, then the transform will not update).
VelocityLocal velocity of this object.
AngularVelocityLocal angular velocity of this object (degrees/s).
TransformThe position and rotation of this tracked object in world space (based on the anchor position).
RoleWhich part of the body this tracked object represents - waist, left shoulder, etc.
TypeWhat type of object this is - tracker, controller, etc.