Source:setPose
EditSets the position and orientation of the Source.
Set the pose using numbers.
Arguments
Name | Type | Description |
x | number | The x position of the Source. |
y | number | The y position of the Source. |
z | number | The z position of the Source. |
angle | number | The number of radians the Source is rotated around its axis of rotation. |
ax | number | The x component of the axis of rotation. |
ay | number | The y component of the axis of rotation. |
az | number | The z component of the axis of rotation. |
Returns
Nothing
Set the pose using vector types.
Arguments
Name | Type | Description |
position | Vec3 | The position. |
orientation | Quat | The orientation. |
Returns
Nothing
Notes
The position doesn't have any defined units, but meters are used by convention.