Page 1 of 1

Access path keyframe value via Expression

Posted: May 19th, 2017, 2:57 pm
by SundancePioneer
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! :) 

Sundance

Re: Access path keyframe value via Expression

Posted: June 14th, 2017, 12:28 pm
by Mikeoverbeck
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.