everything runs fine on me too but:
when i run this script with demo version it works, runs fine and objects collide with level:
#include <acknex.h>
#include "pXent.h"
#include <default.c>
#include <d3d9.h>
function ball()
{
pXent_settype(my, PH_RIGID, 1);
pXent_setfriction(my, 100);
pXent_setelasticity(my, 10);
}
function on_mouse_left_event()
{
while (mouse_left) {wait (1);}
ent_create ("earth.mdl", nullvector, ball);
}
function main()
{
fps_max = 70;
video_mode=8;
wait(1);
pX_setgravity(vector(0,0,-9.81));
pX_SetWorldSize(0.05);
level_load("level.wmb");
pXent_settype(level_ent,3,3);
}
but when i run it with licensed version i get a crash. error dialog says crash in "physx_startup"
i do not believe this is a bug, just asking for help.
p.s. if i remove the wait(1); line, both works but both doesnt collide with level.