Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › entitymanager dynamic creation of objects

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

    Bas

    hi,

    I Create objects dynamically and while creating objects the objects have a livespan and destroy themselfs after a while.

    during this process i get warnings and i think the counter of the entityManager component decreasing causes problems

    when creating new entities and destroying older ones.

    or am i using it wrong?

    #11562

    Günther
    Felgo Team

    Hi Bas!

    This warning is save to ignore. As entities are created and removed dynamically, the entity-counter may lead to ids that are already in use. If this occurs, a new entityId that doesn’t conflict with the old one is generated automatically. The warning is just displayed for informational purposes.

    Best,
    Günther

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

RSS feed for this thread

You must be logged in to reply to this topic.