Note: I've updated Pose Utilities to v5 to rectify a problem I was having with pose flipping in the current version of Cheetah 3d. I've left the old version up because the problem may be with a change in how I rig models and not a change in Cheetah 3d. Let me know if the new version works better (or worse) for you.
Pose Utilities.js (download links are at the bottom of the page) is a tool script for Cheetah 3D (tested with 5.3b3). You can think of it as a companion to tg_jp's excellent Mirror Copy.js.
Pose Utilities provides several much-needed functions for animators working with Cheetah 3D.
You can create a walk cycle was with two poses and the flip function. You can copy a pose from one "side" of a symmetric hierarchy and then paste a "flipped" version onto the corresponding opposite side of the hierarchy.
Version 2: just added some "clipboard" functionality. This works across frames so long as the tool remains active for the entire time. Be careful, C3D is very flaky about updating state and recording keyframes—to be sure you've recorded stuff to the timeline explicitly click on the bone (or whatever) and then hit record.
Version 3: has extensive comments in the code to help anyone needing to further customize the script or just understand it.
Version 4: adds a new "flip" command, and renames several other commands to be less ambiguous.
Version 5: addresses either an issue caused by changes in the way C3D handles rotations OR the way in which I rig models. In case it's the latter, I'm leaving v4 up for your use.
- Zero Rotations: resets the rotations of all bones in the hierarchy to zero (very useful if you've lost your rest pose).
- Swap Right and Left: copies right-side pose to left and vice versa (but skips stuff that's neither right nor left, such as props.)
- Copy Right-to-Left: copies the right-side pose to the left.
- Copy Left-to-Right: copies the left-side pose to the right.
- Flip: flips the entire hierarchy (mirrors it through the ZY plane) regardless of name. (Very useful for animating tails or snakes, for example.)
- Copy Pose: copies pose to tool's "clipboard".
- Paste Pose: pastes pose from tool's "clipboard" (data is name-based, so if you have two skeletons with the same naming convention, you should be able to copy pose data from one to another).
- Paste Pose Flipped: as above, but data are flipped from opposite side (so you can copy the pose of a left arm, select the right arm, and paste flipped.
Pose Utilities v5.js zip3.1kBPose Utilities v5.js zip 05/31/2013 04:31:44
Pose Utilities v4.js zip2.8kBPose Utilities v4.js zip 03/31/2012 20:39:56