Skip to main content

Unity problem with instatiatedinstantiated objects when destroyed

So this iosis my problem, iI have a square that when destroyed spawn 4 smaller squares when shooting on it, but when iI shoot one of the 4 smaller squares sometimes a diferentdifferent square that are not even close gets destroyed.

The problem is worse when it havehas multiple smaller squares because just shooting one of the squares continuously make the other ones get destroy except the one i'm shooting

Unity problem with instatiated objects when destroyed

So this ios my problem, i have a square that when destroyed spawn 4 smaller squares when shooting on it, but when i shoot one of the 4 smaller squares sometimes a diferent square that are not even close gets destroyed.

The problem is worse when it have multiple smaller squares because just shooting one of the squares continuously make the other ones get destroy except the one i'm shooting

Unity problem with instantiated objects when destroyed

So this is my problem, I have a square that when destroyed spawn 4 smaller squares when shooting on it, but when I shoot one of the 4 smaller squares sometimes a different square that are not even close gets destroyed.

The problem is worse when it has multiple smaller squares because just shooting one of the squares continuously make the other ones get destroy except the one i'm shooting

Source Link

Unity problem with instatiated objects when destroyed

So this ios my problem, i have a square that when destroyed spawn 4 smaller squares when shooting on it, but when i shoot one of the 4 smaller squares sometimes a diferent square that are not even close gets destroyed.

The problem is worse when it have multiple smaller squares because just shooting one of the squares continuously make the other ones get destroy except the one i'm shooting