-
particular 3d problem
Hi, I’ve been working on some kind of magic beam with particular. I want 1 main beam and a few going around it.
In the main beam I have done anything special, just keyframed the emitterZ and than created a camera and rotated it 90 so you see a streak.
The thing that is going around is again just a particular streak with no velocity. I used videocopilot’s 3d orbit to let a null go around in a circle and pigwipped the xy emitter to this null. Everything works as it should work.Only when I view everything from the side AfterEffects doesn’t recognize the position values of particular, only the values of the layers. I understand a bit that it’s hard because you don’t have to set a particular layer to 3d.
so my question, is there a way to fix this and let after effects see the real x,y and especially the z position.
see picture, the main streak does go through the middle but when you move it from the side the red layer will always be in front of the streak
I wonder if there even is a solution, but thank in advance anyway
Radius = effect("Radius")("Slider");
Speed = effect("Speed")("Slider");
RotationOffset = effect("Rotation Offset")("Angle");//
center = [this_comp.width/2,this_comp.height/2,0];
radius = 200;
angle = time * Speed + RotationOffset;
x = Radius * Math.cos(degreesToRadians(angle));
y = Radius * Math.sin(degreesToRadians(angle));
add(center, [x,y,0]);
