-
Expressions that can be used with Face Tracker?
I just finished tracking my face with the Face Tracker tool, and I found an expression that will make a null object rotate two-dimensionally in accordance with the corners of my mouth(below). Now, how do I go about making it so that an object – lets say, a mustache – follows my face three-dimensionally the way that real objects would? Like, if I twist my face to the left, the left side of the mustache will appear further away, while the right side will come closer? I’m a novice with expressions, and try to use them only when necessary, so any help will be greatly appreciated!
A=thisComp.layer("20151109_170950.mp4").effect("Face Track Points")("Mouth Right");
B=thisComp.layer("20151109_170950.mp4").effect("Face Track Points")("Mouth Left");// Find the length of side a
SideA = sub(A, B)[1];// Find the length of side b
SideB = sub(A, B)[0];//Find the Angle between them
radiansToDegrees(Math.atan2(SideA, SideB))+180;