Stubbed line collision function