I'll take a look at "hit", thanks. But I would like to know, "tex_color" doesn't work with lite-c for that purpose, right?
The action is the same as for the hinge, which I try to move, but without applying velocity, it's looks like this:
action obj_motor()
{
VECTOR temp;
set(my,POLYGON|SHADOW);
pXent_settype(my,PH_RIGID,PH_CONVEX);
pXent_setmass(my,0.05);
pXent_setfriction(my,0);
pXent_setiterations(my,15);
pXent_setdamping(my,100,100);
pXent_setskinwidth(my,0);
pXent_setelasticity(my,25);
}
As you see, skin width is "0"... Didn't get about too-big hull, could you explain?
Plus, it works perfect with all other models if I make it static with PH_POLY.
Here is the same problem with different models:
About stopping hinge, as I placed model at the level, it has -15 tilt, then when I debugged it's tilt, I see that it was decreasing till -90 and then increasing to -0.002 and at this position it stops. I was wrong about 2 turns, it makes only half way. And it stops at the same angle always, I have no idea why.