Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Mesh deform with a wired mesh object

Discussion in 'Physics' started by NaartjieBoer, May 31, 2023.

  1. NaartjieBoer

    NaartjieBoer

    Joined:
    Aug 19, 2022
    Posts:
    2
    Good day everyone,

    I am in the process of creating a realistic mining game and need some advice. Currently I am busy with the part where a player needs to operate a drilling rig and install wired meshes on the roof and walls and create a safe working environment.

    Here is a quick overview of the things I want to do:
    - When picking up the wired mesh, the object should bend as it normally would because of gravity and it's own weight.
    - The mesh should be able to detect when another object pushes up on it, which should result in the mesh deforming and bending.
    - The bending should continue until the mesh touches the roof or wall and kind of take the shape of the wall or roof.

    Right now, I am struggling to come up with ideas on how to simulate this effect, and would really appreciate it if someone can point me into the right direction.

    For added context I've included a link to screenshots I took from mining videos, which should hopefully give you an idea of the effect I am looking for.

     

    Attached Files:

  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,566
    maybe some cloth physics plugin,
    with not too high resolution mesh and high stiffness settings could work?
     
  3. NaartjieBoer

    NaartjieBoer

    Joined:
    Aug 19, 2022
    Posts:
    2
    Thanks, I will take a look at it and give some feedback afterwards.