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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question How to stop animation from Resetting transform after animation Complete

Discussion in 'Animation' started by Only4gamers, Dec 8, 2020.

  1. Only4gamers

    Only4gamers

    Joined:
    Nov 8, 2019
    Posts:
    281
    Hello everyone,
    I downloaded few animations from Mixamo. In case of few animations(With "In place" option not available), animation resetting transform after animation complete. I already searched everywhere but didn't find any solution. Apply Root Motion is already checked and animation loop is already disabled. I am using Animation Type as Generic and not Humanoid.
     
  2. Only4gamers

    Only4gamers

    Joined:
    Nov 8, 2019
    Posts:
    281
    Hello, anyone?
     
  3. HeyBishop

    HeyBishop

    Joined:
    Jun 22, 2017
    Posts:
    221
    Only4gamers likes this.
  4. Only4gamers

    Only4gamers

    Joined:
    Nov 8, 2019
    Posts:
    281
    As I am using Generic Animation type, there is no option of Bake Into Pose. Even with Bake into pose while using Humanoid, it won't solve this problem. Actually what happening is Main parent Gameobject transform is not changing in Mixamo animation. So when animation start, child objects change transform but main parent gameobject stay in same place. After animation complete child gameobject going back to main parent object position. and that's creating this problem. But I succeed to solve this problem somehow, but not sure if this is the best way.
     
  5. HeyBishop

    HeyBishop

    Joined:
    Jun 22, 2017
    Posts:
    221
    Only4gamers likes this.