Hey guys
On collision between two bodies i am setting one body to isBodyActive = false.
This works a few times then crashes the simulator (and device) with this error :
Assertion failed: (0 <= proxyId && proxyId < m_nodeCapacity), function GetFatAABB, file …/…/external/Box2D_v2.1.2/Box2D/Box2D/Collision/b2DynamicTree.h, line 141.
i have tried the suggested fix of setting the body to stopped but the body’s in question don’t move anyway.
Any ideas ?
[import]uid: 6981 topic_id: 7701 reply_id: 307701[/import]
The only way round this type of error for me was to put a delay in that gives things time to do what they are supposed to do.
Jonathan Beebe spotted it a while ago and doing what he did solves the issue.
Check it out here.
http://jonbeebe.tumblr.com/post/2515495262/corona-collision-no-no
Mike [import]uid: 9950 topic_id: 7701 reply_id: 27306[/import]
Hey mike, thanks for that, i will give it a try 
EDIT : Thanks a million mike and john
It works perfectly now.
Kudos! [import]uid: 6981 topic_id: 7701 reply_id: 27308[/import]
No problem. Glad it worked for you as well. 
Cheers
Mike [import]uid: 9950 topic_id: 7701 reply_id: 27324[/import]