Collider:getLinearVelocityFromWorldPoint

Edit

Returns the linear velocity of a point on the Collider. This includes the velocity of the center of mass plus the angular velocity at that point.



Arguments

NameTypeDescription
xnumber The x position in world space.
ynumber The y position in world space.
znumber The z position in world space.

Returns

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

Arguments

NameTypeDescription
pointVec3 The world-space point.

Returns

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

See also