29.08.2009, 16:13
Ok so if I use this code:
It will give me the point infront or behind the x/y based on the distance variable (pos/neg value passed).
How do I do left or right though ?
pawn Код:
x += ( distance * floatsin( -angle, degrees ) );
y += ( distance * floatcos( -angle, degrees ) );
How do I do left or right though ?