Hi
im making a simulator, and i want the camera to move freely around the 3d space using the mouse, can anyone expalin how to do this?
so far im using the movement keys (up, down, left right), but i can't yaw the camaera (move it up and down), as i said, i want to use the mouse to "look"
this is the code so far:
sync
SET DISPLAY MODE 1152, 864, 32
SET WINDOW SIZE 1152, 864
SET WINDOW OFF
make camera 1
POSITION CAMERA 1, 0, 200, -1000
load object "main.x", 1
load object "platform.x", 2
load object "spinner.x", 3
load image "metal.bmp", 4
sync
do
if upkey()=1 then move camera 1, 1
if downkey()=1 then move camera 1, -1
if leftkey()=1 then TURN CAMERA LEFT 1, 1
if rightkey()=1 then turn camera right 1, 1
loop
which brings me to another question, how can i get a key input? like...pressing '1' will start the ride spinning
thankx ppl