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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

any idea how to fix this?

Discussion in 'Scripting' started by ariusdb222, Apr 11, 2015.

  1. ariusdb222

    ariusdb222

    Joined:
    Jan 25, 2015
    Posts:
    88
    Hey everyone, i'v been playing around with generating destructible environments and its going great!
    But.... I only have one problem, see the pics
    2015-04-11 02_29_09.jpg 2015-04-11 02_29_43.jpg


    So i have a mesh collider with the convex setting enabled and no physical material, could this be the reason?
    Also i'm seeing that the mesh has colliders partially inside each other, think that's the problem...

    So any help would be appreciated!
    And thanks for your time



    ...........................................
    Basically i get it to work, but when i want to rigidbody for gravity to the pieces so they fall when there is nothing beneath them, they automatically fall at runtime
    And yes i'm new to working with the unity physics...o_O
     
    Last edited: Apr 11, 2015
  2. hpjohn

    hpjohn

    Joined:
    Aug 14, 2012
    Posts:
    2,190
  3. ariusdb222

    ariusdb222

    Joined:
    Jan 25, 2015
    Posts:
    88
    After playing around, i think it is the colliders that make it do this, the collider collide with eachother then this happens....
    Any way to get more accurate colliders??