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

Question How to make a humanoid avatar realistically dead?

Discussion in 'Physics' started by yangshen, May 21, 2020.

  1. yangshen

    yangshen

    Joined:
    Apr 23, 2015
    Posts:
    1
    Hi everyone,

    I used Unity back to 2014-2015 for some VR projects and recently picked it up for some animation projects, so I consider myself still a novice.

    I am now using an "Obi Soft Body" asset on Unity 2019.3.13f1, and one scene contains a humanoid avatar:
    upload_2020-5-21_0-32-14.png

    upload_2020-5-21_0-43-2.png \
    I disabled the controller in the Animator component and added a mesh collider and an Obi collider in order to make it "dead" and fall on the ground without penetrating it.

    Then I use a rigid body to touch the humanoid, which would move like a log with all joints locked.
    I wonder how to make the humanoid realistically dead - when touching part of it, the neighboring joints move passively, under effects of gravity; when hand it up in the air, all limbs down; etc... I guess there is some way I could also manually change the muscle/tendon stiffness?

    Please instruct, any tutorial/suggestions would be greatly appreciated.
     
  2. hessex

    hessex

    Joined:
    Jul 24, 2019
    Posts:
    7

    Have you looked into Ragdolls? That would achieve the effect you are searching for. The ability to disable the animator and cause the character to collapse lifelessly.

    There are a number of great tutorials and assets to get you going here.
     
    SparrowGS likes this.