I used
Code:
pXent_settype(eTmp,PH_RIGID ,PH_CONVEX);



later in the code, I want to do a raycast

Code:
VECTOR* lookat = vector(100,0,0);
ENTITY *en=pXent_raycast(eTmp, lookat,NX_STATIC_SHAPES ,NX_RAYCAST_ENTITY );



I got no syntax error, but after starting the engine, I got a "script-crash"-error.

When I register eTmp as PH_BOX instead of PH_CONVEX everything works. Now my question: Isn't it possible to use a PH_CONVEX-Entity for a raycast? That seems to make no sense as eTmp is just the starting point of the raycast. So it shouldn't be a problem.

Has anyone had the same problem? Any solutions?