Notifications
Clear all
[Closed] wire or script steps value of spring controller
Jun 14, 2010 12:30 pm
Is there any way how to control steps value of many spring controllers in scene?
First I thought I will control them through a custom attribute, just to find out that I can’t make any wire connection to this value. Then I thought about scripting this somehow, but I’m not sure where to start.
Any help would be appreciated.
2 Replies
Jun 14, 2010 12:30 pm
This will change all the springs in the scene to have steps of 0, effectively turning the springs off.
(getClassInstances SpringPositionController).steps=2
Jun 14, 2010 12:30 pm
Thanks a bunch. Is there some way how to put such a script on a button in custom attributes? I would like to somehow save that together with the rig, so it should be “on” some of the rig parts.