Collider:setOrientation

Edit

Sets the orientation of the Collider in angle/axis representation.



Set the orientation of the Collider using numbers.

Arguments

NameTypeDescription
anglenumber The number of radians the Collider 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 orientation of the Collider using a quaternion.

Arguments

NameTypeDescription
orientationQuat The orientation of the Collider.

Returns

Nothing

See also