Copy,Pasting, and flipping Anim curves and keyframes between attributes.

472 views
Skip to first unread message

Kenny Friesenhahn

unread,
Oct 4, 2015, 6:59:10 PM10/4/15
to Python Programming for Autodesk Maya
Hello,

I'm attempting to build a work around for a problem in UE4 and Maya and I could use some input. I'm essentially exporting a camera with animation from UE4's matinee and bringing it into Maya (Standard Scene Y up, Y Up on FBX Export, can't change that sadly) but when I bring that same camera back into UE4 from Maya the translation and rotation values are all switched around and in some cases completely flipped. My solution is to copy the key frames from one attribute in Maya and paste it to another attribute ( X goes to Y, Y goes to Z, Z goes to X, etc.) But I also need to flip a few animations as well, basically I'll have a negative curve that animates from -30 to -60 and it now needs to pasted in a new value as 30 to 60. Having never done this before, any feedback you could give would be helpful! Thanks!

Marcus Ottosson

unread,
Oct 5, 2015, 3:34:41 AM10/5/15
to python_in...@googlegroups.com
When cross-posting, it can be nice not to include the style of the original forum as it's difficult to read, and to also link to it so everyone can benefit from answers on both ends.


On 5 October 2015 at 00:59, Kenny Friesenhahn <kmfrie...@gmail.com> wrote:
Hello,

I'm attempting to build a work around for a problem in UE4 and Maya and I could use some input. I'm essentially exporting a camera with animation from UE4's matinee and bringing it into Maya (Standard Scene Y up, Y Up on FBX Export, can't change that sadly) but when I bring that same camera back into UE4 from Maya the translation and rotation values are all switched around and in some cases completely flipped. My solution is to copy the key frames from one attribute in Maya and paste it to another attribute ( X goes to Y, Y goes to Z, Z goes to X, etc.) But I also need to flip a few animations as well, basically I'll have a negative curve that animates from -30 to -60 and it now needs to pasted in a new value as 30 to 60. Having never done this before, any feedback you could give would be helpful! Thanks!

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/fdb37d92-0d82-4883-b712-0f1022bc9811%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Marcus Ottosson
konstr...@gmail.com

Reply all
Reply to author
Forward
0 new messages