文档

Unity Engine

Unity Engine

GetRelativePoint(Vector2)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 GetRelativePoint(Vector2 relativePoint)

Parameters

relativePoint

The local space point to transform into global space.

Returns

Type

Description

Vector2