ドキュメント

Unity Engine

Unity Engine

GetWorldPoint(Vector2)

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

Definition

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

Parameters

localPoint

The local point to transform.

Returns

Type

Description

Vector2The transformed world point.