forked from MaurycyLiebner/enve
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Milestone
Description
I figured this out the hard way... hehehe, after lots of tests, trials and errors I ended up discovering Friction can only calculate expressions for each frame without getting information about previous/next frames.
So, it would be nice to be able to get info from other parameters at other time/frame to create more complex and smarter expressions. This was also commented here but till now I wasn't aware of the importance of having this feature when creating expressions.
It would be something to be added into "Bindings" this way:
x = translation.x.valueAtTime( 5 ) // value at frame 5
other example:
frame = $frame
x = translation.x.valueAtTime( frame - 5 ) // value at 5 previous frames
Thanks!
tomgasper and zaynopenappzaynopenapp