Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Resolved Rigidbody characters starts floating when animation controller applies root motion

Discussion in 'Animation' started by SassyPantsy, Mar 12, 2021.

  1. SassyPantsy

    SassyPantsy

    Joined:
    May 17, 2020
    Posts:
    71
    Hi all, noob question here -
    tl;dr: Characters float when the animation controller applies root motion.

    I'm trying to apply root motion on my characters. Problem is, I'm also using rigidbodies on my characters, and they start floating when root motion's set to true.
    It stopped once I set isKinematic to true, but then I can't use physics - such as colliding, jumping, or falling.
    which is why I'm using a rigidbody and not a character controller.

    I guess I could solve this with a script that toggles between root motion and isKinematic, but that sounds a bit hacky...

    Any help?
    '
     
  2. SassyPantsy

    SassyPantsy

    Joined:
    May 17, 2020
    Posts:
    71
    FIXED IT!!! set "animate physics" on the animatorcontroller...
     
    BrandyStarbrite likes this.
  3. BrandyStarbrite

    BrandyStarbrite

    Joined:
    Aug 4, 2013
    Posts:
    1,897
    Oy! Interesting fix.
     
unityunity