Notifications
Clear all

[Closed] Using 'at time' within script controller

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