Collider:setAngularVelocity

Edit

Sets the angular velocity of the Collider.



Sets the angular velocity of the Collider using numbers.

Arguments

NameTypeDescription
vxnumber The x component of the angular velocity.
vynumber The y component of the angular velocity.
vznumber The z component of the angular velocity.

Returns

Nothing

Sets the angular velocity of the Collider using a vector.

Arguments

NameTypeDescription
velocityVec3 The angular velocity of the Collider.

Returns

Nothing

See also