Hi, I have the problem that the physic system isn't working after second call of physX_open(). I made an example:
//---------------
1: (Working)
physX_close();
wait(5);
ph_fps_max_lock = 60;
pX_setgravity(vector(0,0,-5));
physX_open();
//-----------------
2: (Not Working)
ph_fps_max_lock = 60;
pX_setgravity(vector(0,0,-5));
physX_open();
wait(5);
physX_close();
wait(5);
ph_fps_max_lock = 60;
pX_setgravity(vector(0,0,-5));
physX_open();
//-------------------
hm does anyone know why it's not working? I really need it. After returning from level my code closes the physicsystem... after loading a new Level again starting with physX_open().
Where is the problem?