Video game physics. I stole it from reddit. im Not Even sorry