View Full Version : value of f-curve based on given time

03 March 2004, 03:26 PM
Hello, can anyone tell from use of the word "f-curve" Max is not my native tongue:)

I have a animation curve,
and I would like to specify a point in time and have returned the value at that position. Any suggestions on how that could be done?

Much appreciated,

03 March 2004, 06:33 PM
Use the at time context:

at time T $ball.pos.controller.z_position


03 March 2004, 07:13 PM

I'll give that a shot

03 March 2004, 12:39 AM
Any idea on how I would call that using an expression? I was under the assumption that any script command could be used with in an expression, but I get an error saying that "at" is undefined.


03 March 2004, 07:09 PM
Using a script controller you can use that line but in an expression controller I believe, without looking again that t is for time and at is not used at all. So (t-160) should give you one frame back as I think t will be ticks and not frames.

CGTalk Moderation
01 January 2006, 03:00 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.