xiangaodielian / bullet

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

Enable broadphase to return pairs with distance < threshold #715

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For my application, I need to find all pairs with distance less than some 
nonzero threshold.

Using gContactBreakingThreshold and 
btCollisionObject::setContactProcessingThreshold, it's possible to configure 
the narrowphase collision checking to return contact information for objects 
that are not overlapping, but their distance is less than a threshold.

However, the broadphase algorithms don't use these parameters when doing aabb 
tests.

Original issue reported on code.google.com by john.d.s...@gmail.com on 24 May 2013 at 12:53

GoogleCodeExporter commented 9 years ago
See https://github.com/bulletphysics/bullet3/issues/90

Original comment by erwin.coumans on 30 Mar 2014 at 6:06