Add 360 to keyframe values

Here’s a little mel snippet that I found occasionally useful while animating, all these commands do is add (or subtract) 360 from a keyframe value – which is perfect for those rotational values that need to come down (or go up).

Anyway, to add 360 degrees:

keyframe -e -r -vc 360;

Subtract 360 degrees:

keyframe -e -r -vc -360;

I’ve found this useful in certain cases (gimbal lock?). And hopefully someone can find this useful as well.

©2007, Sveinbjörn J. Tryggvason | RSS | Comments-RSS