Rigidbody.GetRelativePointVelocity(Vector3 relativePoint)
The velocity relative to the rigidbody at the point relativePoint.
Parameters:
Name | Type | Description |
---|---|---|
relativePoint | Vector3 |
Returns:
type | Description |
---|---|
Vector3 | The velocity relative to the rigidbody at the point relativePoint. |
Usage
---@type Rigidbody
local rigidbody;
---@type Vector3
local relativePoint;
local val0 = rigidbody.GetRelativePointVelocity(relativePoint)