Now the level starts but the ball just falls throw the level;
action ballplayer()
{
player = me;
newton_addentity(player, 5, NEWTON_SPHERE, onforceandtorque);
while (1)
{
player_force.x = 380 * time_step * (key_d - key_a);
player_force.y = 380 * time_step * (key_w - key_s);
player_force.z = 0;
camera.x = player.x - 29;
camera.y = player.y;
camera.z = player.z + 15;
camera.tilt = -5;
wait (1);
}
}
and the Brige is;
action Brige()
{
my.push=100;
set(my,FLAG8);
reset(my,DYNAMIC);
wait(1);
c_setminmax(me);
}
But it still falls throw, whats wrong?