Contact:getSurfaceVelocity
EditReturns the world space surface velocity of the Contact. This can be used to achieve a conveyor belt effect.
x, y, z = Contact:getSurfaceVelocity()
Arguments
None
Returns
Name | Type | Description |
x | number | The x component of the surface velocity. |
y | number | The y component of the surface velocity. |
z | number | The z component of the surface velocity. |