This version of Unity is unsupported.

Rigidbody2D.GetVector

Switch to Manual
public Vector2 GetVector(Vector2 vector);

Parameters

vectorThe global space vector to transform into a local space vector.

Description

Get a local space vector given the vector vector in rigidBody global space.