I read in some old documentation that I could use SetBoundaryListener to identify bodies that have left the screen. This doesn't seem to be in the latest version. Could someone point me in the right direction as to how I implement this in the latest version?
Thanks.
Couldn't you just loop through the bodies and use GetPosition() with some if statements to detect if it's outside the bounds?
I think what you may be looking for is doing an AABB Query. I haven't used it before, so the only advice I could give you would be to look it up in the box2d documentation.
Scott