linearVelocityFromWorldPoint method
Get the world linear velocity of a world point attached to this body.
Implementation
Vector2 linearVelocityFromWorldPoint(Vector2 worldPoint) {
return Vector2(
-_angularVelocity * (worldPoint.y - sweep.c.y) + linearVelocity.x,
_angularVelocity * (worldPoint.x - sweep.c.x) + linearVelocity.y,
);
}