I do love it when I get to use all the maths and physics I spent so long studying to program stuff.
Trigonometry is great, actually.
I made up a way to assign different weights to characters in SRB2 just so I could have the excuse for programming in the inelastic collision of two spheres into it
Personal server of https://abhlach.ie/@oakreef