OverviewFelgo 2 Support (Qt 5) › Box2D bodies are not removed with removeAllEntities

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #14234


    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.


    Felgo Team

    Hi Derick!

    I had a short look and can confirm the behavior, you are not making any mistake. Thanks for reaching out, we will have a closer look at that. You can ignore the “ghost” bodies for the moment as they don’t disturb the game as far as I’ve seen.


Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support