This version of Unity is unsupported.

Rigidbody2D.GetRelativePointVelocity

Switch to Manual

Declaration

public Vector2 GetRelativePointVelocity(Vector2 relativePoint);

Parameters

relativePoint The local space point to calculate velocity for.

Description

The velocity of the rigidbody at the point Point in local space.

GetRelativePointVelocity will take the angularVelocity of the rigidbody into account when calculating the velocity.