Collision function updated to account for x and y position being the center of the asteroid