FORUMS: list search recent posts

# linking keyframes from 2 layers or nulls to make strong track

FAQ   •   VIEW ALL
 linking keyframes from 2 layers or nulls to make strong track on Apr 24, 2016 at 12:09:12 am

is it possible to link 1 3d image layer to 2 track null points to keep the image still without shaking ?

1 null on left side of the object
1 null on right side of the object
3d image layer in middle linking to 2 nulls null-left< 3dimage >null-right

 Re: linking keyframes from 2 layers or nulls to make strong trackon Apr 25, 2016 at 12:02:21 am

This reads like an expression solution but I am just learning that myself.

 Re: linking keyframes from 2 layers or nulls to make strong trackon Apr 25, 2016 at 2:05:52 am

what plugin i can get that does this mate

 Re: linking keyframes from 2 layers or nulls to make strong trackon Apr 25, 2016 at 10:18:01 am

[hanna dean] "is it possible to link 1 3d image layer to 2 track null points to keep the image still without shaking ?"

It's possible to determine the midpoint of two points; whether the midpoint is still depends on the tracked points.

Here's the expression. Alt+click on the position stopwatch of the layer you'd to set at the midpoint between Null 1 and Null 2. (The formula for midpoint is just the average of each of the two points coordinates.)

```null1Pos = thisComp.layer("Null 1").transform.position; null2Pos = thisComp.layer("Null 2").transform.position; midPointPos = [ (null1Pos[0] + null2Pos[0]) / 2, (null1Pos[1] + null2Pos[1]) / 2, (null1Pos[2] + null2Pos[2] ) / 2 ];```

Walter Soyka