Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects CC light centre – combine path and movement

  • CC light centre – combine path and movement

    Posted by Karel Hejkal on September 14, 2014 at 5:13 pm

    Hi,

    I have this scenario. A person sits, palms on knees and between his palms there is a light (using CC Light Rays) that spins around. Sort of like an electron rounds atom centre. And the picture slides from right to left creating a parallax effect between the person and background.

    So I need 1) light that spins round circle path 2) move this animation from left to right. /so lets say the combined path of the light is sort of spiral or spring/

    Yet I am unable to make this animation work. I can solve the first part. But when I try to move the light, it rotates in its place, not moving from one side to the other. Or only moves, depends what solution I use.

    I have tried… sort of everything that crossed my mind. Combinations of KFs taken from mask path, nulls, parenting, linking. Move layers, let camera be stable. Move camera, let layers be stable. Use camera, delete camera. Let the layers be 2d, 3d.

    Nothing works. Maybe I did used bad combination of settings. Maybe it is not even possible to let the CC Light work this way.

    I am sort of new to AE, but I have search a lot of tutorials, forum posts and have not found an advice so I am asking for a help here. But it may be that for my less experience I am missing some basic setting. And maybe someone would know the solution or see the missing piece.

    Thank you.

    Michael Szalapski replied 12 years ago 2 Members · 4 Replies
  • 4 Replies
  • Karel Hejkal

    September 15, 2014 at 7:46 am

    OK. New day, new fresh idea… I did solved this one. By using a mathematical expression for spiral (that I googled) and adding a time*speed to X value. It looks like this:

    radius=100
    angle=time*200
    x=(radius*Math.cos(degreesToRadians(angle)))-(time*21)
    y=radius*Math.sin(degreesToRadians(angle))
    z=0
    centre=[1790,760,0]
    add(centre,[x,y,z])

    Yet if I would need any other moving path, lets say round a person’s silhouette, the path I can not express by mathematics, I would be stuck. So if anyone knows the principle solution, I would be glad to learn it.

  • Michael Szalapski

    September 17, 2014 at 4:57 pm

    You could get 3d layers moving in the way you want and then use the toComp expression to make your 2d point follow the 3d movement.

    – The Great Szalam
    (The ‘Great’ stands for ‘Not So Great, in fact, Extremely Humble’)

    No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.

  • Karel Hejkal

    September 17, 2014 at 7:34 pm

    Hi, Michael,

    thank you a lot. That does exactly that kind of trick I needed. And because I am working with more lights in the project, I will definitely use it to save a lot of time and nerves.

    I owe you a beer 🙂

    /<.

  • Michael Szalapski

    September 17, 2014 at 8:26 pm

    Glad to help!

    – The Great Szalam
    (The ‘Great’ stands for ‘Not So Great, in fact, Extremely Humble’)

    No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy