Search Unity

Quick collider question

Discussion in 'Editor & General Support' started by TimeCastle, May 28, 2015.

  1. TimeCastle

    TimeCastle

    Joined:
    Jan 12, 2015
    Posts:
    32
    Say I have a script which spawns a (Gameobject) collider at position "X" in 5 seconds. The collider is 50 squared.
    If there were colliders within that 50 meters, like, say, enemies, would they still collide?
    So basically I'm asking if the inside of colliders allow for collisions, or is it just the borders of them?
     
  2. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    A collider that is fully inside another collider will still trigger the collision. When triggers are involved, this collision may be a frame late.