Contact:setSurfaceVelocity

Edit

Sets the world space surface velocity of the Contact. This can be used to achieve a conveyor belt effect.



Arguments

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.

Returns

Nothing

Arguments

NameTypeDescription
velocityVec3 The surface velocity.

Returns

Nothing

See also