기술 자료

Unity Engine

Unity Engine

GetLocalPoint(Vector2)

Gets a local point relative to the body given a world point.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public Vector2 GetLocalPoint(Vector2 worldPoint)

Parameters

worldPoint

The world point to transform.

Returns

Type

Description

Vector2The local point relative to the body.