bodies property
The bodies that have been created through createBody and not yet destroyed.
Bodies created directly on the physicsWorld are not included.
Implementation
Set<Body> get bodies {
_pruneDestroyedBodies();
return UnmodifiableSetView(_bodies);
}