Source:setPose

Edit

Sets the position and orientation of the Source.



Set the pose using numbers.

Arguments

NameTypeDescription
xnumber The x position of the Source.
ynumber The y position of the Source.
znumber The z position of the Source.
anglenumber The number of radians the Source is rotated around its axis of rotation.
axnumber The x component of the axis of rotation.
aynumber The y component of the axis of rotation.
aznumber The z component of the axis of rotation.

Returns

Nothing

Set the pose using vector types.

Arguments

NameTypeDescription
positionVec3 The position.
orientationQuat The orientation.

Returns

Nothing

Notes

The position doesn't have any defined units, but meters are used by convention.

See also