As our thanks, please enjoy an EXTRA 00% OFF all your purchases through the end of 2016, INCLUDING NEW RELEASES!
When somone has a moment, do you know where I can find an example script for manipulating joints on a figure. Just trying to build my skills, and I haven't had much luck with my searches.
Are you looking for help with scripts or plugins ?
If it's scripts, i can hook you up with some examples.
What sort of manipulation do you have in mind? If you want to pose figures, try saving a Pose Preset using the File>Save as>Deprecated menu in .dsa ASCII format and pick the result apart. If you want to edit the joint properties then I'm not sure what there is in the way of example code, especially for the newer TriAx trigging system.
To give you some more background, I am a pose artist who sells pose packs for M4 and V4. Typically, I create poses for M4 and then transposes them to V4 by apply the M4 pose to V4 and then adjusting it to fit her unique geometry. There are ~5 joints that I always have to adjust to get V4's feet on the ground and to get her shoulders looking right. I am hoping to automate some of this with a script that I can reuse.
It could still be an ugly process, but it is worth a try...
With only that one Victoria in your scene, it could be as simple as this :
// Find the joint you want to adjust
var oNode = Scene.findNodeByLabel("lCollar");
// If you need the current value to calculate the new value,
// get the current value of the property you want to adjust
var fOldValue = oNode.findPropertyByLabel("Twist").getValue();
// Set a new value for that property
var fNewValue = 4.45; // Any value or calculation of your choice
Thanks. I'll play around with it. Much appreciated.