why did bunny hopping exist?
as far as I remember, it was to do with jumping sideways being a lot faster than other movement, but I can't imagine why you'd program that in?
as far as I remember, it was to do with jumping sideways being a lot faster than other movement, but I can't imagine why you'd program that in?
- if "forward" key held down, add unit motion vector to position
- if "left" key held down, rotate motion vector to left and add it to the position
In that case, you've added two copies of the vector at 90 degrees to each other, and the player moves by sqrt(2) times the normal speed.