Unofficial Hacker News companion — get notified on comment replies, and more.

The Math Behind Counter-Strike Surfing (opens external site)

428 points by v3gas 4 days ago | healeycodes.com | 75 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (4)

  1. Really good post. I really like the animations and visualisations.

    I tried to read the q3 source for the character controllers years ago and it really hurt my head. If someone had an writeup like this back then (pre LLMs) lord knows it would have been easier for me to understand.

    Replies (2)
    1. I wish Fabian Sanglard had done engine deep-dives for things beyond Doom...
    2. You can probably get a better grasp of it installing Godot and writing a 3D FPS character controller. It's basic tutorial stuff to make a character move, but making it feel smooth and fun is a whole art of balancing acceleration, friction, momentum, inertia, and maybe breaking the rules of physics.

      Then you reach the magical threshold of good feel, and you're having a great time just running and jumping around an empty level.

      Replies (1)
      1. I actually did (I think back when Godot 3.2 came out) and I didn't get very far... I was 13 though.

        Maybe it's time for me to try again, and without AI. :)

        > making it feel smooth and fun is a whole art of balancing acceleration, friction, momentum, inertia, and maybe breaking the rules of physics

        idTech really were ahead of their time, it still freaks me out!