GetWorldVector(Vector2)
Gets a world vector transformed from a local vector relative to the body.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public Vector2 GetWorldVector(Vector2 localVector)
Parameters
The local vector to transform.
Returns
Type | Description |
|---|---|
| Vector2 | The transformed world vector. |