1
\$\begingroup\$

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

\$\endgroup\$
2
  • 3
    \$\begingroup\$ To help you it would be the easiest if you post your code as well (the one that spawns your smaller blocks and the one responsible for destruction) \$\endgroup\$
    – Zibelas
    Commented Jul 2, 2020 at 6:44
  • 1
    \$\begingroup\$ Are you using RayCast for doing this? Also, post your code :) \$\endgroup\$
    – Adrien G.
    Commented Jul 2, 2020 at 6:58

0

You must log in to answer this question.

Browse other questions tagged .