You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
pgilfernandez
changed the title
Expressions editor - "Value at time"
[Feature request] Expressions editor - "Value at time"
Dec 2, 2024
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:
other example:
Thanks!
The text was updated successfully, but these errors were encountered: