ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

.toWorld(anchorPoint) in PositionZ is displaced

COW Forums : Adobe After Effects Expressions

Respond to this post   •   Return to posts index   •   Read entire thread

Vera Steinbeck
.toWorld(anchorPoint) in PositionZ is displaced
on Apr 1, 2019 at 5:49:34 pm

hey there!
i have a problem with the generate-beam function.. i have the beam building a line and at the front of it i need a light following as emitter for particular.
now everything worked fine in 2D, but in 3D, the Z-axis is off and i can't find out why :/

my expression simple: i have a linear expression on the light-position that moves from circleA to circleB along with the "time" setting from the beam-layer.

if i stay in the same z-Axis the light follows without a problem. it i have a longer travel from about z0 to z300 then the light is delayed..
does somebody have a clue, why this is happening?

help would be greatly appreciated!

Time = thisComp.layer(Beam).effect("Rope - Controls")("time");
BeginningLayer = thisComp.layer("1").effect("Rope - Start")("Ebene").toWorld(anchorPoint)
EndLayer = thisComp.layer("2").effect("Rope - End")("Ebene").toWorld(anchorPoint)


//There may be typos in the code - i simplified it

Posts IndexRead Thread 

Current Message Thread:

© 2019 All Rights Reserved