Get Bounding Box for ALL Bodies
I am trying to get the bounding box for all the bodies in a box2d world (think a scenario where I want to get the largest y-value of all bodies).
I need to do this every frame so am not looking to iterator over the boundi开发者_开发知识库ng box of every body. Is there a more efficient way to do this?
I wound up just iterating over the all bodies.
精彩评论