Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPointVelocity(Vector2)

The velocity of the rigidbody at the point Point in global space.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 GetPointVelocity(Vector2 point)

Parameters

point

The global space point to calculate velocity for.

Returns

Type

Description

Vector2

Remarks

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