Skip to content

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

@pgilfernandez

Description

@pgilfernandez

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions