Detection of collision between elements from same array only works sometimes

Oh, right! That makes sense. When that happens with the initial code, they move back and forth really fast while they’re superimposed.

1 Like