News for hackers. Stuff that matters.
Re:Interpreting Analog Sticks by bitwize on Sunday May 29, 2016 @09:43AM (#11796334)
Quake was like this as well. When the walk and strafe keys were held it would set xvel and yvel both to the base walking speed (or its negative) resulting in faster diagonal movement. The correct approach would be to multiply them by √2/2 if diagonal movement is commanded, so that the magnitude of the velocity is the base walking speed.

There are no comments on this comment yet.