文档

Unity Engine

Unity Engine

GetPoint(Vector2)

Get a local space point given the point point in rigidBody global space.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 GetPoint(Vector2 point)

Parameters

point

The global space point to transform into local space.

Returns

Type

Description

Vector2