s&box docs
API ReferenceSandbox.VR

public class Sandbox.VR.TrackedObject

Represents a physically tracked VR object with a transform

Constructors

Showing 1 constructors

Methods

Showing 2 methods

protected virtual bool PrintMembers(System.Text.StringBuilder builder)

Properties

Showing 8 properties

public bool Sandbox.VR.TrackedObject.Active { get; set; }

Whether or not this object is currently accessible (if false, then the transform will not update).

public virtual Transform Sandbox.VR.TrackedObject.AimTransform { get; set; }

The aim pose transform of this tracked object in world space (pointing forward). Use this for aiming, pointing, or ray casting.

public Angles Sandbox.VR.TrackedObject.AngularVelocity { get; set; }

Local angular velocity of this object (degrees/s)

public virtual Transform Sandbox.VR.TrackedObject.Transform { get; set; }

The grip pose transform of this tracked object in world space (centered on palm/grip). This is the default transform used for hand positioning.

Metadata

FieldValue
NamespaceSandbox.VR
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.VR.TrackedObject

On this page