PDA

View Full Version : use value from specific key in expression


mr.effect
04-10-2005, 11:02 PM
hi,

i would like to know, if it is possible to get the value from a specific key.

i got an constantly rotating object and my expression needs to know how many "turns" it will make during anim. i have a key at the end of the anim. the key value from one axis is all i wanna have...

thx for any help in advance!

erilaz
04-11-2005, 02:56 AM
Hi mr.effect! There's probably a few way to do this, but I would use the "at time" function call. "at time" checks values etc. for a specfied time, for example:

t = 100-- where t = the frame on the time slider
at time tcurrentRot = $object.rotation --this can get tricky depending on what type of rotation you're using!

CGTalk Moderation
04-11-2005, 02:56 AM
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.