Rigidbody.GetPointVelocity(Vector3 worldPoint)
The velocity of the rigidbody at the point worldPoint in global space.
Parameters:
Name | Type | Description |
---|---|---|
worldPoint | Vector3 |
Returns:
type | Description |
---|---|
Vector3 | The velocity of the rigidbody at the point worldPoint in global space. |
Usage
---@type Rigidbody
local rigidbody;
---@type Vector3
local worldPoint;
local val0 = rigidbody.GetPointVelocity(worldPoint)