Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Camera commmands

Author
Message
Zan2032
19
Years of Service
User Offline
Joined: 12th Dec 2004
Location:
Posted: 15th Dec 2004 17:22
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:


which brings me to another question, how can i get a key input? like...pressing '1' will start the ride spinning

thankx ppl
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Dec 2004 20:12
In the Camera Commands section of the help, you'll find...

XROTATE CAMERA, YROTATE...
PITCH CAMERA/UP/DOWN


and other stuff.

BatVink
Zan2032
19
Years of Service
User Offline
Joined: 12th Dec 2004
Location:
Posted: 15th Dec 2004 22:40
yeah ok, but how when i move the mouse, the camera pitches and turns?

Login to post a reply

Server time is: 2024-09-23 06:23:00
Your offset time is: 2024-09-23 06:23:00