Collider:getLinearVelocityFromWorldPoint

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

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

Arguments

NameTypeDescription
xnumberThe x coordinate in world space.
ynumberThe y coordinate in world space.
znumberThe z coordinate in world space.

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