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
Name | Type | Description |
x | number | The x coordinate in world space.
|
y | number | The y coordinate in world space.
|
z | number | The z coordinate in world space.
|
Returns
Name | Type | Description |
vx | number | The x component of the velocity of the point.
|
vy | number | The y component of the velocity of the point.
|
vz | number | The z component of the velocity of the point.
|
See also
Collider:getLinearVelocity
Collider:getLinearVelocityFromLocalPoint
Collider