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 / help with a camera problem

Author
Message
JM Studios
20
Years of Service
User Offline
Joined: 8th Dec 2003
Location: Greenville,SC
Posted: 4th Jun 2004 00:15
Ok so far i've made a matrix textured with terrain. I made the camera turn and move forward. What I want it to do is point the camera downward at the terrain, while positioned up in the sky to give you a "god" like feel. But when you pressw up to move forward it moves down towards the ground. So I made it where it updates the cameras z position and adds to the z postion + 2 when ever you press up. So it only goes in one direction know even if I point the camera some where else. Can some one help me with this plz? Thanks! ^_^

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 4th Jun 2004 00:27
DBP or DBC? Most of the examples have great camera codes. Also that will depend on what code you have moving and turning your camera which we do not know .

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
JM Studios
20
Years of Service
User Offline
Joined: 8th Dec 2003
Location: Greenville,SC
Posted: 4th Jun 2004 00:31
I'm using DBC and here's the code so far



JM Studios
20
Years of Service
User Offline
Joined: 8th Dec 2003
Location: Greenville,SC
Posted: 4th Jun 2004 00:56
Ha! I fixed it my self! Thanks anyways!

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 4th Jun 2004 05:41
Glad to hear it

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full

Login to post a reply

Server time is: 2024-09-22 11:21:20
Your offset time is: 2024-09-22 11:21:20