Collider:getLinearVelocity
EditReturns the world-space linear velocity of the center of mass of the Collider, in meters per second.
vx, vy, vz = Collider:getLinearVelocity()
Arguments
None
Returns
Name | Type | Description |
vx | number | The x component of the velocity. |
vy | number | The y component of the velocity. |
vz | number | The z component of the velocity. |
Notes
Currently, velocity is clamped to 500 meters per second to improve stability of the simulation.