-
Absolute position in after effects (with a time remap)
Hi guys, I checked many posts here and couldn’t find the expression that works in my case.
I have an object (Eye) that is supposed to be controlled by a null located in the MainComp. This is a simplified structure:
MainComp (contains:)
Null
MidComp
———————————————–
MidComp (contains:)
StartComp (has default time remap)
———————————————–
StartComp (contains:)
Eye (some solid or any object)I used the command: Edit/Copy with Property Links to connect the Eye to the Null which gives me this expression: comp(“MainComp”).layer(“Null”).transform.position
This works fine, if I animate the Null, it moves the Eye.Problem is once I create a slider effect (needed for head “rotation”) for example under MidComp and connect StartComp time remap to the slider, immediately my Eye animation stops working. It works without keyframes, as soon as I add keys it stops.
Is there a way to control this Eye with the Null using some expression that will calculate every frame? Maybe value_at_time thing or similar? Basically I need this Eye to always follow the absolute position of the Null.
Thank you so much!