Timeline for How to remove a box2d body when collision happens?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 6, 2011 at 17:25 | comment | added | user744 | -1, the question concerns Java and this is a task that is pretty different in different languages. It's also not very good C++ - try using an std::set or std::unordered_set, and I'd use an STL algorithm to handle the destruction as well, or at least a better loop condition. | |
Sep 6, 2011 at 17:21 | history | answered | Gregory | CC BY-SA 3.0 |