Notifications
Clear all

[Closed] value of f-curve based on given time

Hello, can anyone tell from use of the word “f-curve” Max is not my native tongue:)

I have a animation curve,
($ball.pos.controller.Z_Position),
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,
Nathaniel

4 Replies

Use the at time context:

at time T $ball.pos.controller.z_position

RH

Thanks.

I’ll give that a shot

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.

Thanks.

 PEN

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.