Notifications
Clear all

[Closed] Illegal self-reference

I’ve spent a bit more time on this today and I did add a custom attribute to the script controller based on the Paul’s name independant tutorial. However I can only reference a controler above or below the script controler without creating a dependency loop. So if I want to achieve something like [current rotation + controler value] on each cycle I can’t since the output of the script controler has no effect on the value of the other controlers in the stack?

Hmm I suppose I could always use the custom attribute for temp storage and update it per cycle with latest value which on consequent cycle would constitute current rotation.

Edit: I seem to have got it working without any problems so far by using the method mentioned above. Hopefully it’s as solid as it looks at first glance.

I am working on a rolling sphere rig, if anyone is interested. Wanted to pick a project as part of my initiative to get more comfortable with the technical side of max and a rolling sphere turned out to be a good choice as it introduced the self reference problem I haven’t run into before.

Thanks for you help guys it's much appreciated.
Page 2 / 2