Search found 1 match
- Tue Oct 22, 2013 1:17 pm
- Forum: Support and Development
- Topic: Removing bodies Box2D
- Replies: 1
- Views: 3154
Removing bodies Box2D
Dear People, struggling for a while now I'm hoping someone can help me out with Box2D physics. The problem is it is trying to use a body that is destroyed. Regarding safe deletion of bodies I'm trying to use a queu and a tick counter. bodyQueu = {} function bodyQueu.add(givenBody) if bodyID == nil t...