Forums

OverviewV-Play 1 SupportEntityManager does not remove EntityBaseDraggable › Reply To: EntityManager does not remove EntityBaseDraggable

OverviewV-Play 1 SupportEntityManager does not remove EntityBaseDraggable › Reply To: EntityManager does not remove EntityBaseDraggable
#4487

GP

Hi again,

to change the collidersActive flag did not work for me, instead I tried this and this solved my problem:

    onVisibleChanged: {
      if(!visible) {
        createdEntity.visible = false;
        createdEntity.preventFromRemovalFromEntityManager = false;
      }
    }

You have to change the preventFromRemoval flag explicitly again, it is not enough to set that flag only in the box property. However my problem is solved! Thank you very much for your support!

 

Cheers!

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
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support