Collider:getLinearVelocityFromWorldPoint

Edit

Returns the linear velocity of a point on the Collider specified in world space.



Arguments

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

Returns

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

Arguments

NameTypeDescription
pointVec3

Returns

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

See also