hi
thanks!!
now i have an other problem:
my script:
____________________________________________________________________________
while (1)
{
mouse_pos.x = mouse_cursor.x;
mouse_pos.y = mouse_cursor.y;
camera.pan -= mouse_force.x;
camera.tilt += mouse_force.y;
if (key_w) camera.x -= 3*time_step;
if (key_s) camera.x += 3*time_step;
if (key_a) camera.y += 3*time_step;
if (key_d) camera.y -= 3*time_step;
wait(1);
}
__________________________________________________________________________
now if i move the camera with the mouse the x and y positions from the wsad keys stay the same, they don't move with the camera. so if i move the camera 180 degrees i can move dackwards with the key "w".
can somebody tell me the sullution??
thx
sam