Search Unity

Modifying TerrainCollider, Create Tree Colliders at Runtime

Discussion in 'Editor & General Support' started by tsphillips, Mar 22, 2008.

  1. tsphillips

    tsphillips

    Joined:
    Jan 9, 2006
    Posts:
    359
    Is there a way to disable the "Create Tree Colliders" flag at runtime?

    I would like to disable the tree colliders in the middle of a game. Does anyone know a way to do this?
     
  2. tsphillips

    tsphillips

    Joined:
    Jan 9, 2006
    Posts:
    359
    Assuming the "Create Tree Colliders" property is not accessible at runtime, does anyone know any other way to disable the terrain tree colliders at runtime? (BTW, this is a terrain performance issue, not a gameplay issue.)