a way to evaluate a script controller all the time


#1

hi!!! i have a big problem:
when i use a script controller it evaluates the result only in animation… or changing the time slider position…
but i need to see the results in the screen without doing that…
for example… i need to wire the size of a muscle with the angle of a bone with an IK solver…
how to do that?.. the answer: with script controller or an Expose tm… but both together have the same problem…
is there any way to fix that?

thnx


#2

To have your script update interactively in the viewport you need to put this other line above your script in the script controller.
The first line has to have dependsOn and then the names of all objects that are involved, then put your script under that.
Here’s a simple distance script -

dependsOn $Object1 $Object2
distance $Obect1 $Object2

One thing though, the way script controllers work has been changed in max 8 and i’m not too sure if this will work…


#3

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.