Copy link to clipboard
Copied
So, Im using AE CS6. The two plugins concerned are Element 3d and Trapcode Particular.
Im going to include alot of information since I'm not sure what would come in handy to know to solve this.
The final goal is to have the particle emitter follow the left wing of the object when the object is moved using the null named 'Scythe'. (See first photo)
'Scythe' is the brownish null at the center of the object.
I have used the follwing expression line on the Particles X,Y emitter:
thisComp.layer("Element Position 2").toComp([0,0,0]);
'Element Position 2' is the green Null you see in this picture, and is also the proper position for the particle emitter.
However, when this expression is applied it moves the emitter location. As shown in the following picture.
The emitter is only in the proper location on the first frame (first pic), on the second frame (second pic) and every frame afterwards, it is elavated to another position.
Can someone help me correct the new position without manually adjusting the ([0,0,0]) value in the expression line?
Copy link to clipboard
Copied
If I am not mistaken, the null you are trying to use is parented. You need to use toWorld instead of toComp.
Copy link to clipboard
Copied
If I am not mistaken, the null you are trying to use is parented. You need to use toWorld instead of toComp.
By @graymachine
why my .tocomp is not working. I applied this expression . thisComp.layer("Shape Layer 1").toComp([0,0])
Copy link to clipboard
Copied
toComp() converts point coordinates. You need to tell it what to convert. Something like this would be more appropriate:
mLay=thisComp.layer("Star");
mLay.toComp(mLay.transform.anchorPoint)
Mylenium