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]

ความคิดเห็น • 16

  • @AntPictures
    @AntPictures ปีที่แล้ว +2

    This is extremely helpful no bullshit straight to the point tutorial. Thank you so much!

  • @MusyaffaAkbar
    @MusyaffaAkbar 3 ปีที่แล้ว +2

    WOWW THANKYOU BROO, U SAVE ME FROM 211 LAYERS :"""

  • @zackbell8284
    @zackbell8284 ปีที่แล้ว

    Awesome tutorial. Thank you! Just what I needed

  • @emilioabdou9169
    @emilioabdou9169 3 ปีที่แล้ว

    Thanks Rotokey, you are amazing

  • @YD_217
    @YD_217 4 ปีที่แล้ว +1

    Thank you!

  • @yvanvargaspost5934
    @yvanvargaspost5934 ปีที่แล้ว

    In 2022 you save my life. Thx very much

  • @waseyrahimy6886
    @waseyrahimy6886 5 ปีที่แล้ว +1

    Good stuff

  • @spicy_burrito
    @spicy_burrito ปีที่แล้ว

    man thank you :DD

  • @6amerzOfficial
    @6amerzOfficial 3 ปีที่แล้ว

    very useful thanks

  • @jhill3d
    @jhill3d 4 ปีที่แล้ว

    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.

    • @JamesKaudewitz
      @JamesKaudewitz 4 ปีที่แล้ว

      Hey James, probably yes. But the easiest way might be this plugin: www.videocopilot.net/tutorials/sure_target_2/ Hope this helps!

    • @vanstronauts3448
      @vanstronauts3448 ปีที่แล้ว

      @@JamesKaudewitz Hi Believe Sure Target is not longer supported and doesnt
      work with AE 2023? at least not for me

    • @JamesKaudewitz
      @JamesKaudewitz ปีที่แล้ว

      @@vanstronauts3448 th-cam.com/video/5f1olNkoDXo/w-d-xo.html&ab_channel=MohamedElHanoun I believe this video shows the fix

  • @adaidiazrincon6148
    @adaidiazrincon6148 2 ปีที่แล้ว

    hello, is there a way to apply this just to z value?

    • @JamesKaudewitz
      @JamesKaudewitz 2 ปีที่แล้ว +1

      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

    • @adaidiazrincon6148
      @adaidiazrincon6148 2 ปีที่แล้ว

      @@JamesKaudewitz It worked, thank you so much!!