Project code just before switching to a better method of collision detection.