Updating code for object collision.  Need advanced polygon collision detection.