Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

How to check if a gameobject is touching another gameobject?

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

  1. MRcoderboss

    MRcoderboss

    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:
    6,495
    MRcoderboss likes this.
  3. MRcoderboss

    MRcoderboss

    Joined:
    Aug 7, 2019
    Posts:
    18