Hello,
I am using pXent_movechar(...) to move my character... I am using the exact same example that is in the manual:

Quote:
...
pXent_settype(me,PH_CHAR,PH_CAPSULE);
...
while(1) { move_char(); wait(1); }
}
...function move_char()
{
VECTOR mov = vector(0,0,0);
if(key_w) mov.x= 8*time_step;
if(key_s) mov.x=-8*time_step;
if(key_a) mov.y= 8*time_step;
if(key_d) mov.y=-8*time_step;
vec_rotate(mov,camera.pan);
mov.z=0; // must be set, because vec_rotate sets mov.z when the camera looks up/down.
pXent_movechar(me, mov, camera.pan, 0);
}


However, I deleted the underlined line : mov.z=0; and added ::
Quote:
if(key_space) mov.z=8*time_step;


The player never moves up not even a little when I press space... Could u plz tell me what I am doing wrong??
Can somebody try it?