Search Unity

Question Timeline + Animation Rigging different rotations in edit/play mode

Discussion in 'Animation Rigging' started by petera1980, Jun 13, 2021.

  1. petera1980

    petera1980

    Joined:
    Jan 29, 2016
    Posts:
    55
    Hello,

    I post here because I think it is Animation Rigging problem.

    I have made a cut-scene with Animation Rigging constraints Chain IK + Multi rotation constrains as child of Chain IK.

    In Edit mode all went good but when I play the same timeline in Play mode see that bones are in slightly different rotations in comparison with edit mode in the same frame.
    As result the object is not fit to the camera when camera zoom the heat.

    I have made some screens.










    I tried Quaternion interpolation in timeline but nothing changed.

    Thank you
     
  2. giantkilleroverunity3d

    giantkilleroverunity3d

    Joined:
    Feb 28, 2014
    Posts:
    383
    Are all the axis to bone correlation correct?
     
  3. petera1980

    petera1980

    Joined:
    Jan 29, 2016
    Posts:
    55
    Thank you for your replay. How I can check that ?
     
  4. giantkilleroverunity3d

    giantkilleroverunity3d

    Joined:
    Feb 28, 2014
    Posts:
    383
    I am coming from the arena of human rigging.
    First always check the date of the model, what product and version it came from and the Unity version. Just be aware because the development in its timeline is fraught with misconceptions, lack of standards or changing format standards.
    I have been using Blender to investigate and analyze models and rigging.
    There are disconnects between the model rigs of Autocad, Blender, Unity.
    I have been fighting this battle for 2 years now and have found an answer.
    I even bought a 2tb drive to house the models and projects that have grown beyond management.
    I have Blender, Rigify, Rigify to Unity, Unity's Rigify to Unity, FastIk, FinalIk, Umotion and many models from CGtrader, Turbosquid and other model sites. When I started this adventure I did not realize the format or conversion mismatch.
    One of the obvius in Unity is when in animation preview the model drops to ground level at the pelvis. This is because there is no root bone on the incoming model. This can be adjusted in the animation timeline but then you have a jumping, glitching model in your developement. Some animations do this others dont.
    I disregarded every previous attempt when I saw this approach else where and exported just the mesh as an FBX from Blender to Mixamo.
    Rig in Mixamo and save as Unity FBX.
    I finally have finger rigs! but no jaw which I will pursue later.
    Drop the downloaded FBX in your Unity project.
    Then I use FinalIK for constraints and IK.
    Moving a model around these three products will clobber some things but at this time it is all we have.
    This might not be the answer you are looking for in respect to what you need but I hope you can see what you might need to avoid or this gives you insight into your next brick wall.
    If I am missing something then by all means some one let me know.
    This is not a thread hijack but an awareness announcement.
    Any one reading this who has been in or now is in this will agree or thank me later.
    We are on the cusp of standardization.
    The single product microcosm is where most of the problems with rigging arise from.
    Amazingly enough Mixamo does a great job of format conversions. But if you import an FBX with a rig Mixamo wont rerig it. It will give you the rig option if there is no incoming rig.
    This is just my two cents and letting everyone know the trial.
    There are more headache postings than solutions on the web. There are some really pissed off devs. Of course if you work for a production house under a budgeted schedule you are screwed.
    Welcome to the fray.
    My other links:
    https://blenderartists.org/t/how-to-change-bones-local-axis-orientation/549368/7
    https://answers.unity.com/questions/1834577/what-is-ik-riggings-dirty-secret-unity-animrig-fas.html
    https://forum.unity.com/threads/con...ng-rigged-mesh-and-move-both-together.373600/
    https://www.kybernesis.com/category/unity-3d/mecanim/


     
    Last edited: Jun 14, 2021
  5. petera1980

    petera1980

    Joined:
    Jan 29, 2016
    Posts:
    55
    Thank you very much bro !!!! Thank you. This is very very helpfully
     
  6. giantkilleroverunity3d

    giantkilleroverunity3d

    Joined:
    Feb 28, 2014
    Posts:
    383
    I put 2 more links in previous post.
     
    petera1980 likes this.