Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Rigidbody2D.GetRelativeVector

Switch to Manual
public Vector2 GetRelativeVector(Vector2 relativeVector);

Parameters

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

Description

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

Did you find this page useful? Please give it a rating: