Parenting a Light relative to Camera Position

Scripting for After Effects

Parenting a Light relative to Camera Position

Postby teecee on 01/21/2015, 2:35 am

Ok, I hope this is easy:

I am moving a camera through a huge 3D space with the help of Sure Target.

Now I want my light move with the camera, so that is always relatively in the same position, casting a shadow in the same way. How would you go about it?

Right now, I parented the Point of Interest and Position of the Light to the Position of the Sure Targe Null, adding "+2300" etc values to the position. But this odesn't work so well. Any better ideas?`

Thanks a lot!
Tom
teecee
 
Posts: 22
Joined: 09/15/2010, 1:12 am

Re: Parenting a Light relative to Camera Position

Postby teecee on 01/21/2015, 3:13 am

I think I solved it! Thanks!
teecee
 
Posts: 22
Joined: 09/15/2010, 1:12 am

Re: Parenting a Light relative to Camera Position

Postby krisq on 01/22/2015, 1:54 am

teecee wrote:I think I solved it! Thanks!

You should share the solution. :)
krisq
 
Posts: 408
Joined: 08/3/2008, 9:52 am


Return to After Effects Expressions