hey, I have used accelerate and vec_accelerate a lot recently however I am completely frustrated with it in this occasion. Is it that I cannot use vec_accelerate and accelerate in the same function? - I cannot see a reason why not, however when I try and use this code:

var aspeed = 0;
vec_add(camera.pan,accelerate(aspeed,0,0));

The variable aspeed switches between 9 and -9 within every second and the camera pans all over the place. Notice that there is no input into the acceleration function and no friction, so all i would expect is there to be no camera movement. If it means anything, in the same function I am using vec_accelerate but all of the variables and vectors have different names.

Thanks for any helps


One day there will be an unfixable bug,
That day is not today.