Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetLocalPoint(Vector2)

Gets a local point relative to the body given a world point.
Read time 1 minuteLast updated 13 days ago

Definition

public Vector2 GetLocalPoint(Vector2 worldPoint)

Parameters

worldPoint

The world point to transform.

Returns

Type

Description

Vector2The local point relative to the body.