GetWorldVector(Vector2)
Gets a world vector transformed from a local vector relative to the body.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public Vector2 GetWorldVector(Vector2 localVector)
Parameters
The local vector to transform.
Returns
Type | Description |
|---|---|
| Vector2 | The transformed world vector. |