A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by ledahut » Mon Jun 21, 2010 8:15 am
Hello!
I tried NewtonBodyGetAABB and NewtonCollisionCalculateAABB on a box and the two AABB look the same.
I would like to know if these bounding box can be different with other kind of body/collision. EX: Compound, Convex Hull...
-
ledahut
-
- Posts: 98
- Joined: Mon Jun 21, 2010 8:03 am
- Location: France
by Julio Jerez » Mon Jun 21, 2010 9:32 am
NewtonBodyGetAABB is a cached aabb that is calculated from NewtonCollisionCalculateAABB in the Broaphase of collision, then padding is added based of the body speed whne Continue collision is on.
NewtonCollisionCalculateAABB calculate the aabb of the collision mesh
neither AABB match the shape of the body, just guarantee that the shape is inside the aabb.
if you want an exact AABB that matches your collision shape then check this
http://newtondynamics.com/forum/viewtopic.php?f=15&t=5163
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 0 guests