Search Unity

Find objects inside cube

Discussion in 'Scripting' started by TOES, Jan 26, 2020.

  1. TOES

    TOES

    Joined:
    Jun 23, 2017
    Posts:
    134
    Is there a way to find all objects (with colliders) that are within a cube, fully or partly? The cube might be translated, scaled and rotated.
     
  2. tonemcbride

    tonemcbride

    Joined:
    Sep 7, 2010
    Posts:
    1,089
  3. TOES

    TOES

    Joined:
    Jun 23, 2017
    Posts:
    134