ドキュメント

Unity Engine

Unity Engine

GetLocalPoint(Vector2)

Gets a local point relative to the body given a world point.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

worldPoint

The world point to transform.

Returns

Type

Description

Vector2The local point relative to the body.