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 / DBP - Sidestep with the camera position

Author
Message
PsycoMania
15
Years of Service
User Offline
Joined: 31st Mar 2009
Location:
Posted: 31st Mar 2009 12:15
Hay all.

Im trying to get a sidestep into my code.

<code>
control camera using arrowkeys 0,1,2
cx# = camera position x(0)
cy# = camera position y(0)
</code>

would anyone know what to add after the camera positions to make it strafe left and right.
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 31st Mar 2009 16:58
This should do what you want:


Use the Z key to strafe left. Use the X key to strafe right.

LB

PsycoMania
15
Years of Service
User Offline
Joined: 31st Mar 2009
Location:
Posted: 2nd Apr 2009 11:22
TYVM m8 works great

Login to post a reply

Server time is: 2024-11-25 08:57:00
Your offset time is: 2024-11-25 08:57:00