After Effects: Randomly Position Layers in XYZ in 5 MINUTES
ฝัง
- เผยแพร่เมื่อ 13 ก.ย. 2018
- Let's do a Tut!
What is seedRandom all about? See this link:
helpx.adobe.com/ca/after-effe...
Reference this if you're in a hurry. You will need to re-pickwhip because your layer names are probably different:
seedRandom(index,true);
xctrl = [PICKWHIP YOUR X SLIDER]
yctrl = [PICKWHIP YOUR Y SLIDER]
zctrl = [PICKWHIP YOUR Z SLIDER]
xrando = random(-xctrl,xctrl);
yrando = random(-yctrl,yctrl);
zrando = random(-zctrl,zctrl);
xx = transform.position[0];
yy = transform.position[1];
zz = transform.position[2];
[xx+xrando,yy+yrando,zz+zrando]
This is extremely helpful no bullshit straight to the point tutorial. Thank you so much!
WOWW THANKYOU BROO, U SAVE ME FROM 211 LAYERS :"""
Awesome tutorial. Thank you! Just what I needed
Thanks Rotokey, you are amazing
Thank you!
In 2022 you save my life. Thx very much
Good stuff
man thank you :DD
very useful thanks
Nice work. Can you think of a way to automatically animate a camera to each one during the life of the comp length? So basically the camera would head over to the 1st one, hang out for a few seconds, then head to the next until all are done - over the life of the current comp.
Hey James, probably yes. But the easiest way might be this plugin: www.videocopilot.net/tutorials/sure_target_2/ Hope this helps!
@@JamesKaudewitz Hi Believe Sure Target is not longer supported and doesnt
work with AE 2023? at least not for me
@@vanstronauts3448 th-cam.com/video/5f1olNkoDXo/w-d-xo.html&ab_channel=MohamedElHanoun I believe this video shows the fix
hello, is there a way to apply this just to z value?
Yep! Just remove the X and Y parts of the script. So it could be:
zctrl = [PICKWHIP YOUR Z SLIDER]
zrando = random(-zctrl, zctrl);
xx = transform.position[0];
yy = transform.position[1];
zz = transform.position[2];
[xx, yy, zz+zrando]
I haven't tested this, but it should work as it's just removing unneccesary code
@@JamesKaudewitz It worked, thank you so much!!