Just how do you turn basic number crunching into a physics system for gaming? Video Games programmer Matt Phillips explains.