开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜