Collider:setPose

Edit

Sets the position and orientation of the Collider.



Set the pose of the Collider using numbers.

Arguments

NameTypeDescription
xnumber The x position of the Collider, in meters.
ynumber The y position of the Collider, in meters.
znumber The z position of the Collider, in meters.
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 pose of the Collider using vector types.

Arguments

NameTypeDescription
positionVec3 The position of the Collider, in meters.
orientationQuat The orientation of the Collider.

Returns

Nothing

See also