Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

Rigidbody2D.GetPointVelocity

Switch to Manual
public Vector2 GetPointVelocity(Vector2 point);

Parameters

pointThe global space point to calculate velocity for.

Description

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

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

Did you find this page useful? Please give it a rating: