Posted By: Anonymous
how to accel? - 09/12/02 21:58
long time ago, i used accel to move my entities this
so whats my problem?
(thanks in advance)
code:way. now i replaced accel with scriptaccel(my.relSpeed, my.relForce, 0.7);
accel(my.absSpeed, my.absForce, 0.7);
vec_set(my.relForce, nullvector);
vec_set(my.absForce, nullvector);
ent_move(my.relSpeed, my.absSpeed);
code:and it doesnt seem to be time corrected. but i find no error in my accel (btw, its the accel-replacement from the movement.wdl)speed += time * ( force - speed * frinction );
so whats my problem?
(thanks in advance)