Hello all,
I set a player as a physics entity:

pXent_settype(me,PH_CHAR,PH_CAPSULE);

as u can see the type is :PH_CHAR
however, when I am moving this character with :

pXent_movechar(me,move_diff , vector(rotate,0,0), 0);

everything is working fine except for the jumping... whatever I set move_diff.z to the player keeps itself on the ground and never jumps or moves up even if I turn the gravity function off.
If I put instead of move_diff a vector with x and y values of move_diff.x and move_diff.y and a z value of 200 the player stay on the ground and if I change this value to 500 the player goes to the ceiling directly ... IDK wut's wrong please somebody help... Am I doing something wrong with ?? How should we set jumps with physics?

Last edited by bk9iq; 07/21/10 07:29.