Announcement

Collapse
No announcement yet.

Maya Live Link axis orientation problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Maya Live Link axis orientation problem

    Hi, I'm trying to set up Livelink between maya 2017 and UE4.23 (Also tried UE4.22). The connection is established fine, but when I go to change the animation in Maya, the Mannequin skeleton falls flat into the ground - see the pictures below. The axis in Maya is set to Z-up and I have been working with the plugin before without any problems on an earlier version of UE4.

    I'm using ARTv1 and the LiveLink plugin that ships with UE4.23.

    Any ideas?

    Click image for larger version

Name:	20191009-22_50_56Autodesk-Maya-2017.png
Views:	248
Size:	95.9 KB
ID:	1672472
    Click image for larger version

Name:	UE4Window.png
Views:	139
Size:	306.1 KB
ID:	1672473


    #2
    Not sure on the specific case scenario, but out of curiosity, was the skeletal mesh for the mannequin imported along with live link process or was it the pre-existing mannequin?

    Comment


      #3
      Hi, the mannequin skeleton in Maya is from the default character in ARTv1. The skeleton in UE4 is the pre-existing one. Thanks

      Comment


        #4
        I have just done some tests in Maya 2017/2018 and the problem is all the same.

        Comment


          #5
          Okay, I think I found a dirty workaround. If I rotate the rig -90 degress on the x-axis and then change Maya up-axis to y-up it works.

          Comment


            #6
            Maya and UE4 has different coordinate systems. Epic assumes that you should use the Pre Processor and Translator options in the live link options in the editor to convert this offset... I created a patch that takes care of this on the Maya side so you don't have to apply offsets. Sadly the pull request to apply this patch has been ignored for months. If you want this feature you have to compile the plugin yourself.
            Programmer, Rigger, Animator - Demo Reel 2015 - My RnD / WIP thread - www.dennylindberg.com
            Worked on: Kitten'd - Guardians of Valor (Android, iOS)

            Comment


              #7
              Denny Thanks for the reply, that explains why this is happening. I tried to set the axis switch under pre processors but I cannot select it. I'll build UE4 from source (with your patch) if I cannot get it working any other way.

              Click image for larger version  Name:	20191020-22_18_39.png Views:	1 Size:	15.5 KB ID:	1675813

              Edit: Forgot to mention that I get a warning saying "LogLiveLinkSubjectSettings: Warning: Role 'LiveLinkAnimationRole' is not supported by pre processors 'LiveLinkAxisSwitchPreProcessor_10'" when selecting Axis Switch.
              Last edited by Darthlatte; 10-20-2019, 08:16 PM.

              Comment


                #8
                I don't think Axis Switch is what you want to do. (see its description) You might have to create a custom pre-processor or translator.
                Programmer, Rigger, Animator - Demo Reel 2015 - My RnD / WIP thread - www.dennylindberg.com
                Worked on: Kitten'd - Guardians of Valor (Android, iOS)

                Comment


                  #9
                  Denny The documentation says "One possible use case is the Axis Switch, that will switch any axis of an incoming transform with another axis.", so now I'm a bit confused - isn't that exactly what I want to fix my problem with the wrong axis? :-) I just don't understand why LiveLink worked for me in the past with earlier versions of UE4, but doesn't now...

                  When you say custom pre-processor or translator, do you mean in Blueprints (as a new class) or in code?

                  Thank you

                  Comment


                    #10
                    Maybe I misunderstood the Axis Switch, but I presume from its description that it is swapping single axis values. Such as X becoming Y. (even though a proper switch of the basis, all three, would give a rotation in practice) I haven't tried implementing a custom processor myself, I think you have to look at the documentation for that.
                    Programmer, Rigger, Animator - Demo Reel 2015 - My RnD / WIP thread - www.dennylindberg.com
                    Worked on: Kitten'd - Guardians of Valor (Android, iOS)

                    Comment


                      #11
                      I have to ask - Am I the only one having this problem? Because the Live Link Plugin for Maya seems to be broken ATM, and I sincerely hope it gets fixed some day :-)

                      Denny Thanks again for your input :-)

                      Comment


                        #12
                        Denny You mentioned a pull request for a patch - Do you have a link to it on Github? Thanks

                        Comment


                          #13
                          https://github.com/ue4plugins/MayaLiveLink/pull/2 Here's the pull request. It seems I removed the transform correction from the pull request and I don't even remember why... Maybe it's supposed to work again? Gah, I don't remember anymore. I guess I'm tired of redoing the patches because the pull requests are ignored.
                          Last edited by Denny; 10-31-2019, 05:46 AM.
                          Programmer, Rigger, Animator - Demo Reel 2015 - My RnD / WIP thread - www.dennylindberg.com
                          Worked on: Kitten'd - Guardians of Valor (Android, iOS)

                          Comment


                            #14
                            Hi,

                            yeah i noticed that in the newer version of UE too, but it's just a visual bug in the live link preview on UE, there is no need to flip axis in maya.

                            It still works just fine when the fbx animation is exported trough the artv1 tool. Sure it's an inconvenience but with the camera sync enabled it kinda work just to preview animation.
                            Last edited by Elyarylith; 10-31-2019, 06:34 AM.

                            Comment


                              #15
                              Thank you - It has been driving me nuts thinking it was just on my computer :-)

                              Comment

                              Working...
                              X