hat jeand ne ahnung wi am besten das kolisions system bei meinem panzer mache damit er nicht in häuser reinfäht und vor allem nicht reindreht . ich bewege den panzer per
w:
x+=lengthdir_x(speed1,direction+90);
y+=lengthdir_y(speed1,direction+90);
s:
x-=lengthdir_x(speed1/1.5,direction+90);
y-=lengthdir_y(speed1/1.5,direction+90);
a:
direction+=1
d:
direction-=1
w:
x+=lengthdir_x(speed1,direction+90);
y+=lengthdir_y(speed1,direction+90);
s:
x-=lengthdir_x(speed1/1.5,direction+90);
y-=lengthdir_y(speed1/1.5,direction+90);
a:
direction+=1
d:
direction-=1
