Everything in 3dgs is non passable by default!
But try something like this one:
Code:
function gravity
{
while(1)
{
vec_set(temp,my.X);//check my position
temp.Z -= 1000;//check where the floor is
trace_mode=IGNORE_ME+IGNORE_MODELS+ignore_passable + USE_BOX;
result = trace (my.x, temp);
my.z -= result;
wait(1);
}
}
action player
{
player = me;
my.passable = off;
my.narrow = on;
my.fat = off;
gravity();
}