Skip to main content

Rigidbody.GetPointVelocity(Vector3 worldPoint)

The velocity of the rigidbody at the point worldPoint in global space.

Parameters:

NameTypeDescription
worldPointVector3

Returns:

typeDescription
Vector3The 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)