Got collision detection to work

The solution is dependent on the FlyControls, but other controls should
probably be easy to support.