only process collision detection if the obstacles are visible.  noticed small performance boost as a result