xiangaodielian / bullet

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

btCompoundShape per-shape collision filtering #705

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

At the moment it is not possible to filter a collision against a 
btCompoundShape for individual shapes. Attached is a possible patch that adds a 
callback to allow the user to enable or disable collisions for potential 
overlapping child shapes.

Original issue reported on code.google.com by erwin.coumans on 1 Apr 2013 at 6:06

Attachments:

GoogleCodeExporter commented 9 years ago
It works like a charm!... should I post the updated patch to update the trunk?

Original comment by rhodyl...@gmail.com on 28 Dec 2013 at 5:38

GoogleCodeExporter commented 9 years ago
Yes, an updates patch helps, thanks!

Original comment by erwin.coumans on 30 Dec 2013 at 3:37

GoogleCodeExporter commented 9 years ago
Here you go, it just moves the callback check before anything else, so if it 
fails there is no need for more calculations

Original comment by rhodyl...@gmail.com on 30 Dec 2013 at 5:36

Attachments:

GoogleCodeExporter commented 9 years ago
moved to https://github.com/bulletphysics/bullet3/issues/67

Original comment by erwin.coumans on 30 Mar 2014 at 5:11