Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

destroyable objects and buildings

Discussion in 'Editor & General Support' started by wayne57, Apr 28, 2012.

  1. wayne57

    wayne57

    Joined:
    Mar 13, 2011
    Posts:
    59
    I look around the forums and web and didnt find too much on the subject
    of destroyable buildings and objects. I use blender and they have a fracture
    system but ive never used it before and have no idea if it could be used in unity.
    Anybody have input or ideas for this type of game content? or know of any systems.

    thanks

    wayne
     
  2. welby

    welby

    Joined:
    Mar 22, 2011
    Posts:
    549
    I'll start with a very basic method.

    you need two models. One solid and one that is broken up.

    I have a crate.

    when I click on it, it Destroy(gameObject),..

    then Instantiate a pre-Made "Broken" crate in it's place. And then let physics take over,..like to spread the pieces, addForce.etc...


    hope this is a decent start!

    cheers
    -Welby