기술 자료

Unity Engine

Unity Engine

GetRelativeVector(Vector2)

Get a global space vector given the vector relativeVector in rigidBody local space.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 GetRelativeVector(Vector2 relativeVector)

Parameters

relativeVector

The local space vector to transform into a global space vector.

Returns

Type

Description

Vector2