Collider:setPose
EditSets the position and orientation of the Collider.
Set the pose of the Collider using numbers.
Arguments
Name | Type | Description |
x | number | The x position of the Collider, in meters. |
y | number | The y position of the Collider, in meters. |
z | number | The z position of the Collider, in meters. |
angle | number | The number of radians the Collider 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 of the Collider using vector types.
Arguments
Name | Type | Description |
position | Vec3 | The position of the Collider, in meters. |
orientation | Quat | The orientation of the Collider. |
Returns
Nothing
See also
Collider:setPosition
Collider:setOrientation
Collider:getPose
Collider