PDA

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


nathanieljla
03-02-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,
($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

LFShade
03-02-2004, 06:33 PM
Use the at time context:

at time T $ball.pos.controller.z_position


RH

nathanieljla
03-02-2004, 07:13 PM
Thanks.

I'll give that a shot

nathanieljla
03-04-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.

Thanks.

PEN
03-08-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-17-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.