Search Unity

Question Automatic LOD

Discussion in 'Scripting' started by Andreas12345, Dec 30, 2020.

  1. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    526
  2. SparrowGS

    SparrowGS

    Joined:
    Apr 6, 2017
    Posts:
    2,536
    Did you read the manual on how to use it?
    All you gotta do is select the LOD level by clicking on the relevant color bar you use to set distance threshold and then click the + icon to add a game object to that LOD level
     
  3. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    526
    I know how to add LOD manual, i try to make this automatic.
     
  4. SparrowGS

    SparrowGS

    Joined:
    Apr 6, 2017
    Posts:
    2,536
    Post the script you wrote then, how are we to guess what's wrong?
     
  5. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,735
    The manual specifies how to make it automatic by using specific names on your FBX objects. I just tested it and it works fine: as many names as you make, that's how many LOD levels you get.
     
  6. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    526