There are a lot of mousefollower tutorials out there. Most of them feature a simple formula for easing the motion:
x += (tx - x) / interp;
y += (ty - y) / interp;
(tx = target position, x = actual position, interp > 1)
This makes the follower go very fast in the beginning, then decelerate slowly to the target position.
How do i have to change the formular, so that i can define a custom acceleration, custom deceleration and a maxspeed for the movement in between? For the very beginning i'd be happy with an added acceleration at all.
Thanks!
Hans