PDA

View Full Version : Using 'at time' within script controller


Duncs
08-24-2007, 12:54 PM
Hi everyone,

I was just wondering if anyone might be able to shed some light on a problem I'm coming up against using a script controller.

I have a an animated attribute called 'scaleMultCurve' on my control object with various different float values between frames 0 and 10. I want to use values from this attribute at specific times to drive the scaling of 5 bone objects.

So bone01's scale samples the scaleMultCurve value at frame 0, bone02 at frame 2, bone03 at frame 3 etc.

However, all the script controllers seem to be taking the value at the current frame rather than at the frame specified in my 'at time' statement.

the code I'm using is:
scaleMult = at time 3 scaleMultCurve

Hope someone might have a solution to this.

Thanks in advance

CGTalk Moderation
08-24-2007, 12:54 PM
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.