simple script question

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 12 December 2008   #1
simple script question

Hi everyone,

I'm looking for a function that returns a value of a node at a different time than the current time.
for example, my expression is $box01.position.x but I want its value five frames before.
I know in flame it's called eval() and in AE it's called valueAtTime(), and I'm sure there is a similiar function in max I just can't find.

Thanks,
Yonathan
__________________

 
Old 12 December 2008   #2
at time 50f $.pos.x
__________________
http://www.fx-td.com
 
Old 12 December 2008   #3
Thanks

(you meant f-5 right?)
__________________

 
Old 12 December 2008   #4
Originally Posted by yonathangz: Thanks

(you meant f-5 right?)


He did not. 50f means "frame 50". f alone means nothing unless it is a user variable.
So f-5 makes no sense unless you assigned f=currentTime already.
Both 5 and 5f will be interpreted as "frame five", so you can use either one.
__________________
Bobo
 
Old 12 December 2008   #5
Originally Posted by yonathangz: Hi everyone,

I'm looking for a function that returns a value of a node at a different time than the current time.
for example, my expression is $box01.position.x but I want its value five frames before.
I know in flame it's called eval() and in AE it's called valueAtTime(), and I'm sure there is a similiar function in max I just can't find.

Thanks,
Yonathan


Yeah, was just giving you the syntax.. gotta make you do a little bit of the work.
__________________
http://www.fx-td.com
 
Old 12 December 2008   #6
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:27 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.