Fixed Box2D bodies not being destroyed

Reporter: faissaloo  |  Status: open  |  Last Modified: May 03, 2017, 06:14:43 AM
Despite calling b2d_body_delete() Box2D objects wouldn't be destroyed, all that would happen would be that the memory for the struct that encapsulates Box2D objects would be freed, which would mean you would end up with ghost bodies in a Box2D world (Box2D bodies not attached to an ENIGMA object).
Please sign in to post comments, or you can view this issue on GitHub.