Hi zazang!

I used c_rotate as you suggested...Thanks
Here's the code :
Code:
// move the player using the "W", "S", "A" and "D" keys; "10" = movement speed, "6" = strafing speed
_bouge_o_n = c_move (enTete,vector(10 * (key_w - key_s) * time_step, 6 * (key_a - key_d) * time_step, 0),
nullvector, IGNORE_MAPS | ACTIVATE_TRIGGER | IGNORE_CONTENT | USE_BOX | GLIDE | IGNORE_PASSABLE);
vec_set (camera.x, enTete.x);
enTete.pan -= 5 * mouse_force.x * time_step;
vec_diff(vec_tempmi,enTete.pan,camera.pan);
c_rotate (enTete,vec_tempmi , IGNORE_YOU | IGNORE_PASSABLE | USE_AXIS );
vec_set (camera.pan, enTete.pan );// the camera and the entity have the same pan angle
enTete.z = 8;// keep the entity close to the floor...it was mouving up and down
wait (1*time_step);
Problem solved at this time.
