VTSpatialDirection

The VTSpatialDirection model defines the direction a participant is facing. The model is specified as a set of three Euler rotations about the corresponding axis in the order of z-x-y:

The following properties define a rotation about the specified positive axis:

  • x: A rotation about the x-axis
  • y: A rotation about the y-axis
  • z: A rotation about the z-axis

These properties correspond to yaw, pitch, and roll:

Yaw: A rotation about the up axis, where the default environment is the Y rotation

Pitch: A rotation about the right axis, where the default environment is the X rotation.

Roll: A rotation about the forward axis, where the default environment is the Z rotation.

Properties

x

x: number

The Euler rotation about the x-axis, in degrees.


y

y: number

The Euler rotation about the y-axis, in degrees.


z

z: number

The Euler rotation about the z-axis, in degrees.


Did this page help you?