기술 자료

Unity Engine

Unity Engine

GetWorldVector(Vector2)

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

Definition

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

Parameters

localVector

The local vector to transform.

Returns

Type

Description

Vector2The transformed world vector.