GetRelativeVector(Vector2)
Get a global space vector given the vector relativeVector in rigidBody local space.
阅读时间1 分钟最后更新于 25 天前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public Vector2 GetRelativeVector(Vector2 relativeVector)
Parameters
The local space vector to transform into a global space vector.
Returns
Type | Description |
|---|---|
| Vector2 |