[Solved] gContactDestroyedCallback missing a call?

bcsanches
Posts: 10
Joined: Mon Feb 02, 2009 2:15 pm

[Solved] gContactDestroyedCallback missing a call?

Post by bcsanches »

I am trying to implement a trigger system here using contact callbacks, but it looks like gContactDestroyed is not called when one contact point is left.

I did a change on BasicDemo to reproduce the issue. Can someone please take a look on it to check if it is my mistake or possible bug?

I just put the ContactAdded and ContactDestroyed callback and I go counting when I contact is removed or added. On the end, a single contact is left and I do not know how to remove it.

I am using bullet 2.73
I discovered that the box was too close to the trigger on the end, and the contact was not removed due to this. Moving it a bit below solved the issue
Thank you
Bruno Sanches
You do not have the required permissions to view the files attached to this post.