Box2D Forum Archive
Search Settings
Home › Box2D › General Discussion

Getting the AABB from a shape?

General Discussion
K Kennyan
Jan 24, 2008 10:52
Been trying to figure this one out for a few hours now. But is there any way of getting the AABB of a shape or maybe even a body?
E Erin Catto
Jan 24, 2008 10:57
In 1.4.3 this is done internally in the Synchronize functions. From that you can extract code to create a function that computes the AABB.

Original thread: https://box2d.org/forum/viewtopic.php?t=329

This is an unofficial, read-only archive preserved for the community. Original site: https://box2d.org

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About