Hello
There is a problem: when an object falls down on another static object and stays on it, I get terrible lugs due to hundreds of collision callbacks handling (I use a gContactAddedCallback). Configuring sleeping thresholds didn't help. Sure there is a way to avoid this problem, but I can't find it. How does this problem should be solved?
Thanks.
Tons of collisions
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Tons of collisions
It is better to iterate over contact manifolds for all overlapping pairs, when you get too many contact callbacks.
See http://www.bulletphysics.com/mediawiki- ... d_Triggers
Hope this helps,
Erwin
See http://www.bulletphysics.com/mediawiki- ... d_Triggers
Hope this helps,
Erwin