Collider:getLinearVelocityFromLocalPoint

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

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

Arguments

NameTypeDescription
xnumberThe x coordinate.
ynumberThe y coordinate.
znumberThe z coordinate.

Returns

NameTypeDescription
vxnumberThe x component of the velocity of the point.
vynumberThe y component of the velocity of the point.
vznumberThe z component of the velocity of the point.

See also