Hey guys,
I'm not new to scripting but I'm new to scripted operators. I still
don't fully understand their inner workings so I apologize if I'm
asking something too obvious. This is the first time I'm posting on
the mailing list, too.
Anyway, I had this idea today... what if I used a custom parameter to
toggle between a live soft-constraint and an animated parameter whose
keys were set by a scripted op? These keys would only be set when the
constraint is active. Then, when they are inactive, an expression on
the object with the disabled constraints would borrow values from the
parameter which the scripted op animated.
I got it working, sort of... it works when I scrub the timeline by
hand, or when jumping to different points in time, however, when I hit
play, the scripted op doesn't actually update.
(I'm on XSI 6.02.) I tried enabling "Always evaluate", hoping this
would force it to run on a per-frame basis, but it doesn't change a
thing.
I read somewhere that constraints evaluate previous to scripted ops,
so I have an intermediate object, and as I said above, it works only
when scrubbing the timeline by hand, so does anyone know what I may be
doing wrong or how to work around this?
Thanks in advance for any help,
-- Alan
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi