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

Will random shape fit in a space

Discussion in 'Scripting' started by Lando9000, Sep 7, 2016.

  1. Lando9000

    Lando9000

    Joined:
    Apr 14, 2013
    Posts:
    36
    Hi All,

    I was wondering if anyone could point me in the right direction. I want to create a system that will tell me weather a shape of no specified length, volume or number of sides (let call this shape A) will fit inside of another shape (Shape B), with the possibility of other shapes already existing inside of shape B. Any help or buzz words that can help me search would be greatly appreciated.
     
  2. Hyblademin

    Hyblademin

    Joined:
    Oct 14, 2013
    Posts:
    725
  3. Lando9000

    Lando9000

    Joined:
    Apr 14, 2013
    Posts:
    36
    Ah thanks, that is what I want! Now to translate to code!
     
  4. Lando9000

    Lando9000

    Joined:
    Apr 14, 2013
    Posts:
    36