Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Expressions editor - "Value at time" #354

Open
pgilfernandez opened this issue Dec 2, 2024 · 0 comments
Open

[Feature request] Expressions editor - "Value at time" #354

pgilfernandez opened this issue Dec 2, 2024 · 0 comments
Milestone

Comments

@pgilfernandez
Copy link

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!

@pgilfernandez pgilfernandez changed the title Expressions editor - "Value at time" [Feature request] Expressions editor - "Value at time" Dec 2, 2024
@rodlie rodlie added this to the 1.1.0 milestone Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants