Collider:getLinearVelocityFromLocalPoint

Returns the linear velocity of a point relative to the Collider.

vx, vy, vz = Collider:getLinearVelocityFromLocalPoint(x, y, z)

Arguments

NameTypeDescription
xnumber The x coordinate.
ynumber The y coordinate.
znumber The z coordinate.

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