PDA

View Full Version : copy paste keys on joints


craigs
04-30-2009, 10:24 PM
I have two duplicate bound geo, with same joints, one animated, one not, and am
trying to copy/paste keys from animated one to the other.
I have two array variables, one with animated joints, and the other.
run a script

for($i=0;$i<size($animJnts);$i++)
{

copyKey $animJnts[$i];
pasteKey $targetJnts[$i];
}

doesn't error, but doesn't copy animation across, can anybody help?

DOor
05-01-2009, 07:46 PM
it looks like you are missing some flags in your copyKey and pasteKey commands. you should specify a time range and attribute at the least.

you could also look into duplicating/connecting the animation curve nodes instead of using copy and paste.

CGTalk Moderation
05-01-2009, 07:46 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.