i decide to stop at this variant:

Code:
 
NewtonBody* body_temp;

*****

body_temp=newton_addentity(my, 15, NEWTON_SPHERE, MHforceandtorque);
NewtonConstraintCreateUpVector (nworld, vectorf(0,0,QUANTTOMETER), body_temp);
NewtonBodySetMaterialGroupID(body_temp, player_nmat);



Last edited by VeT; 02/06/08 16:22.