Missile Example
By nbilyk - Posted on June 13th, 2009
The source for this example can be found here.
How to make a seeking-missile effect.
It's basically just 6 lines of code --
velocityX += (targetX - x) * .05; velocityY += (targetY - y) * .05; x += velocityX; y += velocityY; velocityX *= .9; velocityY *= .9;
