I am using ent_move now, but the collision doesn't work:



The entity I am stearing only stops, when the middle of it is at the wall.
I read something in the documentation of GS about Bounding Boxes. Now I wan't to set the boxes bigger, but it still don't work.
My code:

Code:
 var t_speed_x;
var t_speed_y;
define speed_x, skill1;
define speed_y, skill2;

entity* schlaegel_s;
action a_schlaegel_s
{
schlaegel_s = my;
my.speed_x = 3;
my.speed_y = 3;
while(1)
{
my.max_x = 256;
my.max_y = 32;
my.max_z = 64;
my.min_x = -256;
my.min_y = -32;
my.min_z = -64;
t_speed_x = key_cur * my.speed_x - key_cul * my.speed_x;
t_speed_y = key_cuu * my.speed_y - key_cud * my.speed_y;
move_mode = IGNORE_YOU;
ent_move(vector(t_speed_x, t_speed_y,0),nullvector,0));
wait(1);
}
}




_______________________________________________ GameStudio 6 Extra Edition Processor: 2.80 Ghz RAM: 2046MB Graficcard: Radeon X600 256MB DOWNLOAD PONG FIGHT