Moderators: Disciple, zlovatt

Topic Author
Posts: 2
Joined: Tue Feb 28, 2017 4:04 am

Access path keyframe value via Expression

Fri May 19, 2017 2:57 pm

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: Fri May 23, 2014 10:38 pm

Re: Access path keyframe value via Expression

Wed Jun 14, 2017 12:28 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.

Who is online

Users browsing this forum: No registered users and 1 guest