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 / Question with pitch camera up command.

Author
Message
Trev
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Canada, Ontario
Posted: 28th Feb 2004 20:23
I'm trying to have the camera go up with the pitch camera up but I only want it to go while you hold the space bar and stop when you get to 90 degrees. So if you know how to get the camera to stop at the 90 degree point plz help.

Trevor Somerville
Tim Ballisto
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 28th Feb 2004 20:57
if spacekey()=1 and camera angle x()>270
pitch camera up 1
endif

***********************
270* is what you should use for straight up, 90* is straight down in db
Trev
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Canada, Ontario
Posted: 28th Feb 2004 21:04
o..ok ty lol ive just got it this week

Trevor Somerville
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 29th Feb 2004 08:47
Instead of using the pitch, turn, and roll commands, try using ROTATE CAMERA in conjunction with WRAPVALUE, it will allow more accurate results.




Crazy Donut Productions
Current Project: KillZone
mm0zct
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 1st Mar 2004 21:09 Edited at: 1st Mar 2004 21:11
sorry this is for mouse looking



this works for me, it makes the up and down limit at 69o, replace 70 with 91 and 69 with 90 if you want it at 90o

and i do turning like this:


http://www.larinar.tk
AMD athlon thoroughbred 2200, 512Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
mm0zct
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 1st Mar 2004 21:13
for space bar i would do:

again this limits at 69o se above for changing to 90o, if you want it to go down then:


http://www.larinar.tk
AMD athlon thoroughbred 2200, 512Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
Trev
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Canada, Ontario
Posted: 1st Mar 2004 22:21
ty for the help even though you had the space going down and control goin up. But i figured it out tyvm

Trevor Somerville

Login to post a reply

Server time is: 2024-11-26 07:43:58
Your offset time is: 2024-11-26 07:43:58