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

Question How to make a humanoid avatar realistically dead?

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

  1. yangshen


    Apr 23, 2015
    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-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


    Jul 24, 2019

    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.