Qt3d QML representing dynamically growing number of obstacles



  • In Qt3D QML, i had a scenario where in my scene there are dynamically changing entities whose number can increase or decrease. So presently i created the maximum possible no of entities (cubes) in the scene(placed far away) and called them when they are needed. As a result my code becomes bigger and it's difficult to manage. In future these numbers again can increase. Is there any other way to do this?. Thanks in advance.