an attempt at first person shooter physics for three.js