OK here is the problem.
Im moving a bullet. xvel=5.2 and yvel=-4.6 so the bullet should be moving up to the right really fast.
My problem is that the distance the bullet is moving is to far to correctly detect a collision between a small alien.
This is 2D.
So what I need is a way to move the bullet at that speed and yet have it hit exact pixel perfect on the alien even if the bullet jumps right over it in one of its increments.
Ideas please ??
Im moving a bullet. xvel=5.2 and yvel=-4.6 so the bullet should be moving up to the right really fast.
My problem is that the distance the bullet is moving is to far to correctly detect a collision between a small alien.
This is 2D.
So what I need is a way to move the bullet at that speed and yet have it hit exact pixel perfect on the alien even if the bullet jumps right over it in one of its increments.
Ideas please ??