Hi, I have script that moves irrelevant entities to secondary world with no systems to shelf them. I need to make code in system from default world that will search for specified entities (chosen based on their location{translation component}) in the secondary world and if they exist, move them to the default world. Thanks
…Any replies?
Is the any particular reason, why you want to use secondary world and manipulate entities in cross-world relarltion?
If you checkout similar subjects, people rather avoid using multiple worlds, unless absolutely neccessery. Maybe useful for saving / loading game data.
Any reason you can’t just use the Disabled component?
Worlds by design are separate. As tertle said you can archive this much easier.
There is a disable component? Cool, I just love finding important stuff so late. How exactly does it work?
Anything with disabled component wont appear in any query unless you specifically do a WithDisableComponent
Oh ok thanks.