Search Unity

ProBuilder resets custom (box) collider

Discussion in 'World Building' started by evotionce, May 25, 2018.

  1. evotionce

    evotionce

    Joined:
    Mar 22, 2018
    Posts:
    3
    Hello Community,

    i tried to create multiple custom box collider in a single ProBuilder-Object and ran into an issue while creating a prefab from the same object. After creation all collider values got reset to match the objects size.

    While searching for a solution i found out that ProBuilder automatically maintains all colliders, to turn this off there was a checkbox in the pb_Entity script (is depricated now).

    Is there a way to turn this off in the current version of ProBuilder? (3.0.8)

    Greetings
     
  2. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    552
    Hm, not in the UI. However, it's a public boolean on the pb_Object class. If you change your Inspector to "Debug" mode, look for the "userCollisions" toggle in the pb_Object component. Check it on, then you can turn Debug mode back off.
     
  3. evotionce

    evotionce

    Joined:
    Mar 22, 2018
    Posts:
    3
    Thanks for your quick response, it works like a charm!