got the physics engine example working (badly)