Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

2d trigger

Discussion in 'Editor & General Support' started by Mike99, Nov 15, 2013.

  1. Mike99

    Mike99

    Joined:
    Dec 11, 2011
    Posts:
    160
    hi,

    i must be missing something because i've put a 2d rigidbody and a 2d collider with trigger checked on a sprite that walks into a 2d collider with isTrigger checked too, but onTriggerEnter2d method is only called randomly. sometimes it is fired, sometimes not.

    any idea ?
     
    Last edited: Nov 15, 2013
  2. mathiassoeholm

    mathiassoeholm

    Joined:
    Jul 20, 2010
    Posts:
    104