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.

One comment »

  1. You can type the following into any numeric field too…

    +=360 or -=360 or *=2 or /=7 etc

    Pick the keys and enter that command. Just another way to skin that mel cat.

    - Chad, 4:01 - 4. 03. 2009

Leave a comment

RSS feed for comments to this post. TrackBack URI

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