I have a problem with splice. I'll try to describe what happens.

Let's say I have 4 bullets in an array:
bullet0,bullet1,bullet2,bullet3.

In a for loop when i=1, bullet1 hits something and is spliced out.
bullet0,bullet2,bullet3 remains.

As I continue through the loop when i=2, it skips bullet2, and goes to bullet3. So bullet2 is not updated.

What's the best way to fix this? Should I create another loop to splice out removed bullets?