implemented character collision callback