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 Camera Movement Please.

Author
Message
Ragnarok89
20
Years of Service
User Offline
Joined: 27th Jun 2004
Location: Look behind you! Ahhhh!~
Posted: 28th Aug 2004 13:59
Hey guys it's been awhile and my computer completely CRASHED. Lost all my data for DarkBASIC while I was Learning (though I didn't have much so I guess it really doesn't matter...hehe). Now back to my question I cannot figure out what code is used to move the Character and Camera Position up instead of forward without tilting the camera in the upward direction that I want to go. The code I have so far has been built from Tut09 in the tutorials but edited.

Could anyone help me out with what I would have to do please.

Thanks in Advance,
Ragnarok
Zokomoko
22
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 28th Aug 2004 18:02
move object up 1,10

position camera camera position x(),camera position y()+10,camera position z()

position object 1,object position x(1),object position y(1)+10,object position z(1)

These are commands that could be used to move object or camera up.

now to your example :

Quote: "Position Camera X#,Y#+35,Z#"

assuming X#,Y#,Z# are camera positions

The Y axis controls the up and down movement.

Login to post a reply

Server time is: 2024-11-27 08:32:40
Your offset time is: 2024-11-27 08:32:40