$ 0 0 OnTriggerEnter you are getting Collider of the other object make a check on it if it is not terrain or make a check according to scenario