Contact:getSurfaceVelocity

Edit

Returns 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

NameTypeDescription
xnumber The x component of the surface velocity.
ynumber The y component of the surface velocity.
znumber The z component of the surface velocity.

See also