is there a script to take existing keyframe animation, and covert it to a driven-key animation?
rather than manually picking and driven-keying all joints and creating an animation that way, it would use the keyframes you have created and convert the whole animation to be driven by an attribute beteen 0 and 1.
ie: i have a simple looped walking bug, keyframed it out to loop between frames 0 and 30, and now want the loop to be driven by a single locator keyed betweeen 0 and 1 on pX. i have multiple walk cycles already made and don't want to waste time by redoing the animation to make it a driven key based animation... the main reason i need this rather than using trax is that i want the bug to walk along a path at a correct rate...
No biggie just connect a custom time to the anim curves input (infact a sdk is just a anim curve), you can do a mel loop and connect all anim curves to this cutom time or attribute
interesting.... i am not a very good scripter, but i see whats going on there, how would i use this on lets say a bunch of joints? and if the custom time is always changing (connected to U value of a curve)...
i wrote something that uses get attribute, a duplicate rig looks at my keyframed one, matches it and then sets the driven keys and so on for a frame range... looks like this:
//Keys to Drive // // KeysToDrive(firstframe,lastframe); // //
global proc KeysToDrive(int $start, int $end){
int $i;
for($i=$start; $i<$end; $i++){
currentTime -e $i;