Collider:getLinearVelocityFromWorldPoint
EditReturns the linear velocity of a point on the Collider. This includes the velocity of the center of mass plus the angular velocity at that point.
Arguments
Name | Type | Description |
x | number | The x position in world space. |
y | number | The y position in world space. |
z | number | The z position in world space. |
Returns
Name | Type | Description |
vx | number | The x velocity of the point. |
vy | number | The y velocity of the point. |
vz | number | The z velocity of the point. |
Arguments
Name | Type | Description |
point | Vec3 | The world-space point. |
Returns
Name | Type | Description |
vx | number | The x velocity of the point. |
vy | number | The y velocity of the point. |
vz | number | The z velocity of the point. |