I have this code:
if(key_w) c_move(camera, vector(camera.x,camera.y, camera.z),vector(camera.x+10,camera.y, camera.z),IGNORE_PASSABLE);
and I want to move camera forward for 10. Ist that code right, or how can I correct it? Please help me.
//correct me if I'm wrong
c_move(what, vector_from, vector_to, mode);
Please show me correct code for moving with camera forward.