I am using the level editor to add blocks to a platform game. However, when clearing (entityManager.removeAllEntities() ) the Box2D bodies and colliders still remain (visible in debug). I can post all of my code, just wondering if maybe I am making a simple mistake. I am using dynamic creation and entityBaseDraggable for the platforms. They show up correctly with image and colliders but when “removed” only the sprite is removed and not Box2D body.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.