mmmm sorry interrupt but read this post and i can not resist to do the next question:
hello people .
i have the next problem
i try to make a real physical move off the object (for example a box),when i shoot, i use this code to do that :
if(c_trace(..))
{
if(you)
{
if(you.skill23 == 1337)
{
VECTOR vForce;
vec_set(vForce, vector(100, 0, 0));
vec_rotate(vForce, pTraceHit.rotation);
pXent_addforceglobal(you, vForce, hit.x);
}
}
its work fine, but i have a new problem:
when i shoot the box can move trought the wall or floor, i read something about use the pX_setccd and pXent_setccdskeleton;then i put on the main this physX_load(); and in the acction of box this pX_setccd ( 1 );
pXent_setccdskeleton( box, vector(0, 0, 0), 1 );to make vertex colision, and then i test, but the problem is continues.
help pls !!!!
thank
note:i post this in other site of the forum... im sorry but i had no idea this section exist. i have no internet in my house and i can not see this before