News for hackers. Stuff that matters.
Re:Bunnyhopping from the Programmer's Perspective (2015) by sdwr on Saturday June 05, 2021 @05:11AM (#27403470)
I don't understand the second diagram. Is it supposed to be a top down view of the game? There's a line labeled "view direction" that's perpendicular to the desired direction of travel, and the velocity arrow is going in a totally different direction.
Re:Bunnyhopping from the Programmer's Perspective (2015) by egwor on Saturday June 05, 2021 @05:32AM (#27403550)
If you strafe, you move perpendicular to view direction. If you combine strafe and jumps (the idea is this: jump, change view direction to perpendicular to jump direction and then strafe => jump+strafe => you'd move faster in the original direction).
Re:Bunnyhopping from the Programmer's Perspective (2015) by retsibsi on Saturday June 05, 2021 @05:39AM (#27403587)
I admit I'm still getting my head around the diagram, but it is top-down and I'm pretty sure the 'wish direction' is perpendicular to the 'view direction' because the player is holding down the strafe-left key.