getRotation method

Vector2 getRotation()

Get the rotation vector of the body. (The x basis vector of it's transform.)

Implementation

Vector2 getRotation() => _body.getRotation();