-
.tocomp expression seems to not be accurate
Hi everybody,
i have a problem in my actual project with the expression “.tocomp”
I just have a bunch of basically squares fly in 60° to the camera and all of those should
be connected with lines. I have all of them in a precomp.
Well i have now always two 3d-null-objects and a layer with the effect beam on it.
These two nulls are parented to a “Supernull” which is parented to the movement of the precomp with
all the stuff inside… just to let the lines move with their objects.Now i use an expression like this one:
L = thisComp.layer(“Null Start”);
L.toComp([0,0,0])for the starting point and the same for the ending point.
My Problem is, that the more my Nulls move to the side of the comp the more space is there between the ankor-point and the actual start/ending of the beam. And i do not get why.Does someone have any idea why and how there could come a slight parallax between the start of the beam and the ankor-point of the null?
Edit: I actually already unparanted my null and moved it just like that and there still is a offset between the start and the ankorpoint
Thanks alot in advance!
L = thisComp.layer("Null Start");
L.toComp([0,0,0])