Search Unity

The best moethod for car damage (mesh deformation)

Discussion in 'Scripting' started by Ravel, Oct 25, 2011.

  1. Ravel

    Ravel

    Joined:
    Nov 21, 2010
    Posts:
    605
    Hello, i was thinking of adding some visual damage in my current project
    (that you can test here sideways.dezine.net.ee/AItest/)
    .. so i was wondering if anybody knows some effective methods of adding a mesh deformation damage (like in lfs gta IV) ?

    I have seen two damage scipts, but one needs the mesh to be a low poly (255 verts? witch i havent actually tried because of that) and the other one is just not that real..
    I think the best method would be to use physx soft body's but i dont know how to access them in unity3d...
     
    Last edited: Oct 25, 2011
  2. Ravel

    Ravel

    Joined:
    Nov 21, 2010
    Posts:
    605
    anyone?
     
  3. Ethan

    Ethan

    Joined:
    Jan 2, 2008
    Posts:
    501
  4. Ravel

    Ravel

    Joined:
    Nov 21, 2010
    Posts:
    605
    Thanks for the reply, but is there a way to add some deformation noise?
     
  5. Xinerki

    Xinerki

    Joined:
    Feb 1, 2015
    Posts:
    2
    You can use OnCollisionEnter function and instantiate a deformation sound then apply it's parent as the car (for less creepinessss..).
     
  6. L-Tyrosine

    L-Tyrosine

    Joined:
    Apr 27, 2011
    Posts:
    305
    You can use Impact Deformable, available on Unity Asset Store: http://u3d.as/3uB

     
    JonnyHilly likes this.