Could someone kindly tell me why this simple code doesn't detect the collision against the walls of the level (blocks created in WED) ?
function test_event()
{
sys_exit("bye bye ...");
}
action test_action()
{
my.emask |= EVENT_IMPACT;
my.event = test_event;
while(1)
{
c_move(my_model,vector(10,0,0),nullvector,GLIDE);
wait(1);
}
}
Everything else works.
Drac.