I have an animation of an object sliding back and forth with 3 key frames. The first is at 0, the second is a breakdown key that stays between the first and last, and the last I want to move with an expression to change the speed of the object.
this expression works;
keyframe -edit -index 2 -a -tc 30 -abd true "MP_5_Control.boltAnim";
but I would rather have something like
{
float $val = (1/MP_5_Control.emitAnim);
keyframe -edit -index 2 -a -tc $val -abd true "MP_5_Control.boltAnim";
}
where the MP_5_Control.emitAnim value is animated to change value of the time change in the keyframe command?
Like I said, the first expression works, but when I try to use the 2nd I get an Execution error. Does anyone have any ideas?