ockham opened this issue on Feb 19, 2004 ยท 28 posts
ockham posted Thu, 19 February 2004 at 3:18 PM
Attached Link: http://ockhamsbungalow.com/Python/jiggles.zip
I thought about calling this Physics.py but decided to be honest..... In the Poser world, soft-body dynamics is just a fancy way of saying "Let's see those headlights jiggle!" As usual this is a preliminary version; I know there are some dubious points, but might as well collect your dubiousness along with my own before fixing. ------------------------------------------ Here's the readme: 1. Set up your animation first. 2. Select the part that holds the MTs (such as Hip,Chest, Left Collar) before activating. 3. Activate the script. 4. (Image 1 here) Hit Analyze and let the animation run while the script gathers motion data. This will take some time, but you only need to do it once per "session". The analysis records all three directions for the selected part. 5. When done, the list of MTs will be filled. (Image 2 here) 6. Pick a MT. (Or highlight all of a set that will share the same motion and calibration, such as a left-right pair.) 7. Pick the direction that this MT needs to move: Up-down, Front-back, or Side-side. 8. The appropriate acceleration will be applied to that morph dial, just about instantly. ------------------------ Look at the resulting animation. If the movement is too large or small, or goes the wrong way, keep the script active; don't hit Analyze again. Put a number in the Multiplier blank to change the size or direction, then hit the same direction button again. For instance, if the movement should be twice as large as the first try, enter 2.0 in Multiplier. If the motion is about the right size but backwards, enter -1.0 in Multiplier. The default action for a morph to be used with Up-Down is Downward = positive. So if you have a MT named "Breast Droop", it should work as is. If you have a MT named "Breasts Up", you'll probably need to make the Multiplier negative. The default action for a morph to be used with Side-Side is Leftward = positive. So if you have a MT named "Left Hair Out", it should work as is. On Side-Side, Jiggles does a special trick to make things easier. If you have highlighted exactly two morphs, and their names begin with L and R, the script will assume that the L item moves as described above, and the R item moves oppositely. If the morphs are "typical", this will usually be correct; but if the result is backwards, you can then enter a negative Multiplier to invert the pair together. If you want to take advantage of this trick with a pair that doesn't begin with L and R (say OutLeft and OutRight) you'll have to temporarily rename them to put the L and R in the first letter.