why not use both?
for couldron i used something like
so if you set a MaxVel of 5 it would move at a max speed of 5 and when it comes closer to the target it will slow down.PHP Code:var VelX = (targetx - _x)/speed;
var VelY = (targety - _y)/speed;
_x += (VelX > MaxVel) ? MaxVel : VelX;
_y += (VelY > MaxVel) ? MaxVel : VelY;
<olli/>





Reply With Quote