Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Question How to smoothly transition from an animator to a ragdoll ?

Discussion in 'Physics' started by IMIv2, Dec 29, 2023.

  1. IMIv2

    IMIv2

    Joined:
    Jun 25, 2018
    Posts:
    13
    At the moment i have an animated character, which on death does a falling backwards animation, at that animation's end I've added a call to function which disables my character controller and every other thing which influences that character, disables the animator, and sets all the rigidbodies in the character to not kinematic.

    It works good enough, but for one frame when the transition triggers my character moves pretty much all of his bones for a tiny bit in one frame, that twitch is quite noticeable and i have no idea what causes it, Does anyone have any idea what would help ?

    P.s it is not colliders intersecting i triple checked that they all are not even touching at the moment i switch.