containsPoint method
Same as containsLocalPoint, but for a "global" point
.
This will be deprecated in the future, due to the notion of "global" point not being well-defined.
Implementation
@override
bool containsPoint(Vector2 point) {
return body.fixtures.any((fixture) => fixture.testPoint(point));
}