Notifications
Clear all

[Closed] Forcing Updates on External Controllers?

I am setting up a rig with an IK/FK switch that will match each to the other when animating. Essentially the setup has a List Controller on my bone with an FK sub-controller (Euler XYZ -> Bezier Floats) and an IK sub-controller (Rotation Script). In the IK sub-controller, if IK is toggeled on, then the script takes rotation information from an external IK chain, applies that to the FK sub-controller, then zero back out. In this way, the FK sub-controller value will always equal the IK rotation values, but the IK sub-controller will not accumulate rotation on top of it. (I also have position controllers set up on the IK rig to match the FK animation when IK is toggeled off by moving the goal and pole vector with respect to the FK).

However, what I need is something in my scripts to force an interactive update on the Bezier Float controllers so I don’t have to scrub the time slider to get everything to line back up when I switch my toggle (similar to a dependsOn() function to update within a script). Does anything like this exist, or is there a simpler way to make this work effectively?

Thanks