Search Unity

Question Is there a way to simplify the mesh collider on a beveled object?

Discussion in 'Physics' started by angeldevelopment, Dec 8, 2023.

  1. angeldevelopment

    angeldevelopment

    Joined:
    Sep 28, 2022
    Posts:
    247
    So basically I have tons of rooms and objects, and I model them, and I always throw a bevel on em after to make them pretty and smooth. Creating tons of primitive colliders would take forever, so I slap a mesh collider and use the mesh. What i'm wondering is, is there a way to make it so that the mesh collider ignores the beveled edges?

    I suppose I could import the mesh before I bevel it, then use that as the mesh input to the collider. Is that what most people do?
     
  2. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,925
    I do something similar. After blocking out a model I make sure I duplicate the low-poly version to use as a basic mesh collider for the higher poly version.

    If the model changes drastically after blocking out, it's pretty quick to decimate a model into something primitive.
     
    angeldevelopment likes this.