So for my game, a have a fast moving Bullet object, with a sprite that's 5x5 (roughly). Moving at about a speed of 30, it needs to impact a relatively thin Enemy object with a thickness of only about 5 pixels. At certain regular intervals of distance, the Bullets pass through the enemy without a collision.
I think its because the bullet is moving so fast that it happens to "jump" over the enemy, hence the regular intervals. other than increasing the width of the Bullet or Enemy, is there a way to guarantee that a collision is properly detected?
in Flash i use HitTest method to test if an object collides with another object, i think there is an collision you just need to add some code to change the direction,speed or appearance of the bullet when the Hit becomes true, it will pass through the object even though it Hits/have contact with it if you have no codes for changing its properties when the Hit Event happens
OR
You can test the area of the Bullet and the Moving object
Hope this helps
thanks :)