code-google-com / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

internal issue with convex cast versus btQuanzedBVH, related to bounds #322

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

It is the minkowski difference A-B, so the bounds need to be subtracted:

bounds[0] = rootNode->m_aabbMinOrg;
bounds[1] = rootNode->m_aabbMaxOrg;
/* Add box cast extents */
bounds[0] -= aabbMax;
bounds[1] -= aabbMin;

See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4484

Original issue reported on code.google.com by erwin.coumans on 22 Dec 2009 at 7:12

GoogleCodeExporter commented 9 years ago
Has been fixed in latest trunk.

Reproduction case is attached.

Original comment by erwin.coumans on 22 Dec 2009 at 9:21

Attachments:

GoogleCodeExporter commented 9 years ago
See http://code.google.com/p/bullet/source/detail?r=1867

Original comment by erwin.coumans on 22 Dec 2009 at 9:21