Access path keyframe value via Expression

Moderators: Disciple, zlovatt

Post Reply
Posts: 7
Joined: February 28th, 2017, 4:04 am

Hi folks,

i'm currently trying to find a way to animate between different keys on a path (mouth shapes). Is there a way to use, for example, the linear expression to control the animation between for example key(1) and key(5) without showing the other keys inbetween? I want to be able to animate between any mouth shape (happy to sad, sad to angry, angry to happy, etc.) directly.

Is there a way to pull this off easily? Can i read the path keyframe value and use it in an expression? 

Thanks for any help! :) 

Posts: 4
Joined: May 23rd, 2014, 10:38 pm

I'm afraid this is not possible with expressions. Functions like linear() only work with numerical properties. Paths are objects with many sub properties that can be accessed and written by scripts, but not through expressions. With expressions you can sample a Path's value and reference it in another property, but only as it exists somewhere on the timeline.
Post Reply