Notifications
Clear all

[Closed] wire or script steps value of spring controller

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
 PEN

This will change all the springs in the scene to have steps of 0, effectively turning the springs off.

(getClassInstances SpringPositionController).steps=2

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.