Search Unity

How to check if a gameobject is touching another gameobject?

Discussion in 'Getting Started' started by newagear, Sep 3, 2019.

  1. newagear

    newagear

    Joined:
    Aug 7, 2019
    Posts:
    18
    Hi!
    Is there a function similar to OnCollisionEnter that is called when a gameobject is touching another gamobject?
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    newagear likes this.
  3. newagear

    newagear

    Joined:
    Aug 7, 2019
    Posts:
    18