PDA

View Full Version : OT: AE question: light targeting, world coords



jeric_synergy
06-12-2013, 11:17 PM
Sorry for the OT/3rd party question, but:

I wanted to target a light at a layer, so I used the pickwhip to substitute the layer's position for the lights POI.

This worked fine.

However, I wanted greater control, and the ability to <b>fine-tune</b> and otherwise animate the lite's target, so I did something that would work perfectly in my 3D app, but doesn't in AE:
I created a Null, and parented it to the moving layer.
I pickwhipped the Null's position the same way I did before, for the lights POI position.

Sadly, this did not work. In 3D terms I need the 'world coordinates' of the null, not the keyframed coords, since they just sit at 0/0/0.

How can one get the light to follow the NULL, with the null parented to the moving layer?

Suggestions? :bangwall:

Thanks.

+++
Missing LW fer sherrrrr...

stobbs
06-13-2013, 03:38 AM
If you scroll down to Dan Ebberts replies here,

http://forums.creativecow.net/thread/227/10092

copy his position expression and put it into the POI of your light (just change 'child' to the name of your target null)

jeric_synergy
06-16-2013, 11:30 PM
If you scroll down to Dan Ebberts replies here,

http://forums.creativecow.net/thread/227/10092

copy his position expression and put it into the POI of your light (just change 'child' to the name of your target null)

Thanks, very useful. (And I certainly need to brush up on my AE expressions-- very cryptic to me!)