GetVector(Vector2)
Get a local space vector given the vector vector in rigidBody global space.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public Vector2 GetVector(Vector2 vector)
Parameters
The global space vector to transform into a local space vector.
Returns
Type | Description |
|---|---|
| Vector2 |