Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetLocalPointVelocity(Vector2)

Get the linear velocity of a local point attached to a body. Usually in meters per second.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public Vector2 GetLocalPointVelocity(Vector2 localPoint)

Parameters

localPoint

The local point to transform.

Returns

Type

Description

Vector2The linear velocity at the specified local point attached to a body.