Well..u could use the graph editor,find the curve and go to the stats box and simply change the keyed value from positive to negative and vice versa or doesn't the maya bonus tool have mirror animation?I am still trying to get the hang of the mirror animation thingy. Does it just mirror the animation/or position of the…
Either, Mel or python. I have a curve I want to mirror along the vertical axis and I'm doing so with this: scaleKey -iub false -ts -1 -vs 1 -animation keys Its mirroring it along frame 1 as the vertical axis, I know I can use the -tp flag to offset it correctly but I'm not sure how to make that work. Is there anyway to do…
Im not sure what you want to do? Are you after scaling -1 in the up/down(value) direction? scaleKey -iub false -ts 1 -vs -1 -animation keys; Seems to be what your after..
No left/right direction, I know of the up/down one, that works fine. scaleKey -iub false -ts -1 -vs 1 -animation keys Does left/right but it moves the curve along the timeline rather than flipping it from the curves center.
I'm not sure, I tried mirror animation and it didn't work for me. Swapping the float values to be the opposite negative>positive positive>negative reverses my animation, thats like mirroring it along a horizontal axis in the graph editor.
//Select an animated item, highlight the timeline frames you want to reverse //run me /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// global proc reverseKeys() { string $obSelss[] = `ls -sl `; int $selected = size($obSelss);//$channels = `channelBox -q…
The curve editor actually supports doing this without any script in case you're interested: * Select all keyframes that you want to invert the value for * In the second "Stats" input field type "*=-1" and hit enter * values for all selected keyframes should be inversed This also works for adding (+=) subtracting (-=) and…
*=-1 flips it yes, just like the above code I posted. But the curve is offset, its no longer in the same time range it once was. This was also for a script I was trying to make work doing something a bit more complex.