News for hackers. Stuff that matters.
Re:Jedi Knight 2 And 3 Source Code Released by JabavuAdams on Friday April 05, 2013 @09:50AM (#5498384)
Yes, it's very common in player / vehicle controller code.

People start with a clean model of how the player should move, using minimal physics, then add layer upon layer of special case code for various environmental / state / networking edge-cases.

Re:Jedi Knight 2 And 3 Source Code Released by ja2ke on Friday April 05, 2013 @11:18AM (#5498913)
It's usually what makes the game actually feel good to play.

I've heard looking at the first person movement code for Valve's games will make you wish for your own death, but stripping out the weird stuff which looks ideologically wrong just makes the game play worse.