기술 자료

Unity Engine

Unity Engine

GetLocalVector(Vector2)

Gets a local vector on a body given a world vector.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public Vector2 GetLocalVector(Vector2 worldVector)

Parameters

worldVector

The world vector to transform.

Returns

Type

Description

Vector2The local vector relative to the body.