-
Trying to parent the Light Source Location to my Null, but it’s not working.
So basically, I’m adding artificial lights on top of a set of candles, but the camera is moving. So I tracked the camera movement (really the movement of the fireplace on which the candles are sitting) using Mocha and applied the track to a null object. The lights are created using the LF Glow effect from Knoll Light Factory. However, when I try to parent the adjustment layer on which the lights have been placed to the Null, the light sources don’t move with the layer, which now moves with my null.
To solve this, I tried using an expression to parent the light source locations directly to the null’s position. That way, they’d move the same distance that the null moves, syncing them with the camera’s motion. However, this doesn’t seem to be working either. All it does it move the light source location (essentially, my candle light) to the location of my null, which is not where I want it to be.
I’m a bit confused. When I normally parent a layer which is offset to the layer to which it’s parented, the offset remains the same, regardless of where the parent layer moves. However, the expression seems to eliminate the offset, which I need so that my lights stay on top of the candles.
Anyone know where I’m going wrong with this? Anyone have an expression that would do the trick?
I’ve tried both:
thisComp.layer(“Null Object VFX 51”).transform.position
and
thisComp.layer(“Null Object VFX 51”).position