Page 1 of 1

360

PostPosted: Fri Feb 27, 2004 1:41 am
by hobgoblin
i'm trying to put an aimbot in my actor

if i push the arrows, the caracter moves in the screen

and i want to make the picture alwas aim in the target

animpos = nframes*direction(x,y, target.x , target.y)/360.0;
y+=1;


this one does not work

am i forgeting something?

PostPosted: Fri Feb 27, 2004 1:20 pm
by makslane
Your animation has all rotation frames? (look demos\Asteroids\data\shipNormal*.bmp)