|
Hi all…
I have a facial stabilisation script for MoCap to a Facial Bone Rig that seems to work a treat… I am now trying to add a Cube above the characters head with a set of custom properties linked to the weighting of the various Parent/Child Constraints that I have used for the process - I have attempted using the
varSenderOut.WriteData([var])
to assign values to the relation constraint - which works until the constraint is activated, at which point the values return to zero. I have tried activating the Constraint before updating the values and still end up with zero’s…
My answer is to set values directly to the custom properties after the set up has taken place - but have no idea of the syntax to do so...? Any help would be appreciated...!!
varProperty = objHeadCube.PropertyList.Find(varName) varProperty.Value = varValue
...or something like that...???
Thanks
Thad.
|
|
|