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.

Dark GDK / Strafing

Author
Message
ReiKumar
16
Years of Service
User Offline
Joined: 23rd Sep 2008
Location:
Posted: 18th Oct 2009 11:10
Hey guys, I have the code below which I use for strafing but it seems that its just a bad way to do it because when its combined with other keys, the turnRight and turnLeft functions make things look weird.

How do you guys do strafing?

entomophobiac
22
Years of Service
User Offline
Joined: 1st Nov 2002
Location: United States
Posted: 18th Oct 2009 11:56
I think you should have a look at the dbNewXValue() and dbNewZValue() commands. They use a current value and a specified angle and speed to calculate new values.

Login to post a reply

Server time is: 2024-11-20 13:39:20
Your offset time is: 2024-11-20 13:39:20