View Full Version : Assigning attribute maps on Softbody And Jiggle

01 January 2011, 07:25 AM
Hi guys I am Abhishek
I have made a muscle creator only thing remaining is how to apply a custom attribute map to softbody or jiggle.
Map can be made by me as jpg in maya icon folder or wherever but how to apply that ?
Is at attrContext command and makePaintable commands?
But how to do it in proper manner?

01 January 2011, 10:03 PM
Soft bodies:
I would buffer the softbody on a separate object through a blendShape and control the soft bodies affect with the blendShape's targetWeights

Edit a blendShape's target weights directly

setAttr "blendShape1.inputTarget[0].inputTargetGroup[0].targetWeights[3]" 1;

Edit the jiggle weights directly.

setAttr "jiggle1.weightList[0].weights[0]" 0;

For extracting a color map like a jpg to a compatible attribute map use this method. Uses the colorAtPoint command.
Extract color values (

CGTalk Moderation
01 January 2011, 10:03 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.