centroid property

Vector2 centroid
final

Local position of the shape centroid in parent body frame.

Implementation

final Vector2 centroid = Vector2.zero();