Emre Anil
Forum Replies Created
-
Emre Anil
February 5, 2019 at 2:21 pm in reply to: Rotating Y axis so that it aligns to a shape’s sideOne quick workaround:
Align a 3D Null layer using it’s “Orientation” rotation so that it’s Y axis is parallel to the side of the triangle. Set the shape layer’s parent to the Null layer. Then rotate the Null layer with “Y Rotation”
This will work but if you have 100’s of triangles to rotate you might want to look for a trigonometric solution with expressions.
-
Emre Anil
February 2, 2019 at 11:55 pm in reply to: Opacity based on NULL position NOT working due to parentingTry deleting “-parent.position” at the end of the 3rd row from your expression.
You don’t need to subtract the parent’s position for the distance because the child’s position is always relative to the parent. So if you set child’s position to x: 0, y: 0 it’s gonna be on top of the parent..
-
Emre Anil
February 2, 2019 at 11:24 pm in reply to: Filter to convert RGB pure colors to custom ABC colors?And this was exactly what you’ve done..
How did I not read your message? sorry for the trouble..
-
Emre Anil
March 20, 2017 at 9:10 am in reply to: Link position to a layer on a different comp, getting the wrong valueDoes the target layer have a parent?
If that’s the case try changing your expression to this:toWorld(comp("innocent").layer("innocent").transform.position)
-
Create a text layer and add the following expression to it’s Source Text (.toFixed(2) sets the decimals to 2 digits):
thisComp.layer("Shape Layer 1").transform.scale[0].toFixed(2) -
It seems like some of the footage you purchased are missing in After Effects project. Template makers generally pre-render the effects like particles and flares to compensate the missing effects.
Check the files you got from the purchase and see if the MOV files are included. If you have them you need to re-link them in AE from the project window. Right-click on the missing file in project window and select “Replace Footage -> File” then select the folder/file from your hard drive. After that AE should find all the missing links automatically and you shouldn’t have a problem, if not do the same thing for the other missing files..
-
I did something similar to this before:
https://forums.creativecow.net/thread/227/34811The idea there is the same but it can also go beyond the weight limit. Keep in mind that I used 0-1 as weight not 0-100
Here’s the script part for you:
Adjust p1 and p2 values for your target’s positionsw = effect("weight")("Slider");
p1 = thisComp.layer("P1").transform.position;
p2 = thisComp.layer("P2").transform.position;
x = ((1 - w) * p1[0]) + (w * p2[0]);
y = ((1 - w) * p1[1]) + (w * p2[1]);
[x, y]; -
I divided the position difference by 3 for the even spacing. changing it according to your ratio should work.
-
Assuming t1 and t2 are the Yellow Null Objects:
First Red Null Object’s position expression:
n1 = thisComp.layer("t1").transform.position;
n2 = thisComp.layer("t2").transform.position;
pX = n1[0] - ((n1[0] - n2[0]) / 3 * 2);
pY = n1[1] - ((n1[1] - n2[1]) / 3 * 2);
[pX, pY]Second Red Null Object’s position expression:
n1 = thisComp.layer("t1").transform.position;
n2 = thisComp.layer("t2").transform.position;
pX = n1[0] - ((n1[0] - n2[0]) / 3);
pY = n1[1] - ((n1[1] - n2[1]) / 3);
[pX, pY] -
Here’s an example:
Pick-whip your solid layer’s opacity to the text layer’s Source Text property to change *thisComp.layer(“source”).text.sourceText*values = thisComp.layer("source").text.sourceText.split("\r");
f = timeToFrames(time);
if( f < values.length) values[f]; else 0;
