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.

DarkBASIC Professional Discussion / Help can some one help me with making this camera strafe

Author
Message
Lowky12
15
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: On The Moon
Posted: 4th Mar 2011 10:36
can some one help me with making this camera strafe



baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 4th Mar 2011 12:18 Edited at: 4th Mar 2011 12:18
It helps if you post full code instead of ending part way through, very confusing.

If I want to strafe a camera right by 10 units I do it using "Move Camera Right 10" but that's from the Matrix Utils by IanM (if you don't have the dll yet get it HERE)

You can also do this like this:


Lowky12
15
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: On The Moon
Posted: 4th Mar 2011 12:45 Edited at: 7th Mar 2011 07:46
heres the full code
also


[href]http://forum.thegamecreators.com/?m=forum_view&t=182531&b=8[/href]
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 4th Mar 2011 17:52
Couldn't test this as I don't have the map file, but give this a try, using baxslash's technique (which I tend to use as well).



Health, Ammo, and bacon and eggs!
Lowky12
15
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: On The Moon
Posted: 4th Mar 2011 23:00 Edited at: 7th Mar 2011 07:40
Thanks it works beautifully


[IMG]http://i1238.photobucket.com/albums/ff483/lowky12/4shiv-high-blood.jpghttp://forum.thegamecreators.com/?m=forum_view&t=182531&b=8[/IMG]

Login to post a reply

Server time is: 2026-07-16 18:25:29
Your offset time is: 2026-07-16 18:25:29