Hi all.
I'm wondering how I can obtain the dimensions of a body (preferably the whole body, and not having to 'count up' the overall coverage of the shapes inside it) some time after creation of the body. I know that one of the debug draw options draws an AABB of an object, but I looked at the code in b2World and b2DebugDraw, and I still couldn't work out how it was being done.
Cheers!
I'm wondering how I can obtain the dimensions of a body (preferably the whole body, and not having to 'count up' the overall coverage of the shapes inside it) some time after creation of the body. I know that one of the debug draw options draws an AABB of an object, but I looked at the code in b2World and b2DebugDraw, and I still couldn't work out how it was being done.
Cheers!