Hello, I have static environmental objects spawning randomly offscreen as the player moves about. I want them to have a certain distance between each other so the intention is if they spawn too close they get deleted and new ones take their place.
These events are not doing their job and I don’t know why. I still see the objects too close or even overlapping (hence the supposed redundancy of the collision condition I added). Is it because they are the same object name and the engine can’t figure out which one to delete?
If there is a better system I’m all ears. Cheers.
Edit: I also tried ditching the “While” condition and directly do “Repeat fo each Stump” the conditions but the problem still happens