View Full Version : Copying tangent attributes in Graph Editor
Eudaimic 03-01-2003, 02:39 PM Hey,
For looping animation, is there a way to copy the tangent information from the last key of a channel onto the first key, so that they line up perfectly?
And for extra bonus points, the pre-infinity and post-infinity options, do they apply to all the keys, or as in max, just the keys you've selected? And how do you even see if they're in use or not?
|
|
hi,
if you copy/paste a key, you also copy its tangets.
I dont think you can copy just the tanget info by default , though there might be a script to do so.
And how do you even see if they're in use or not?
Post/Pre options only apply to the selected curve.
if you want to see whats happening to the keys in pre/post area, try to check on the `infinity` optoion in graph editor.
graph editor>view>infinity
hope thats enough for the bonus points :)
Eudaimic
03-01-2003, 07:04 PM
Thanks a lot! That view-infinity setting is of immessurable help! :D
dwalden74
03-01-2003, 07:49 PM
is there a way to copy the tangent information from the last key of a channel onto the first key
the "keyTangent" command will help you with this:
keyTangent -index 1 -q -inAngle -outAngle nurbsSphere1.tx
-this will query the angles of the in and out tangents for the second keyframe on the tx animCrv of nurbsSphere1.
keyTangent -index 1 -inAngle 10 -outAngle 30 -at tx nurbsSphere1
-this will set the keyframe tangent angles to 10 and 30.
Check out this command in the docs for more. Hope this helps!
:beer:
David
Eudaimic
03-01-2003, 08:29 PM
Wow... I dunno if my current Maya level is ready for that! :) I'll look into it though, sounds very versatile.
Octagon
03-02-2003, 12:51 PM
Originally posted by Eudaimic
Hey,
For looping animation, is there a way to copy the tangent information from the last key of a channel onto the first key, so that they line up perfectly?
And for extra bonus points, the pre-infinity and post-infinity options, do they apply to all the keys, or as in max, just the keys you've selected? And how do you even see if they're in use or not?
there is a script on highend by dirk bialluch that does just that. you can use it or look up how he did it.
look for cycleAnimCurve.mel (if i remember correctly)
matthias
CGTalk Moderation
01-14-2006, 01:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.