I tested it and my solution is…
i) make both layer(tracked 2D Null, original shot) 3D layer.
ii) parent the 2D Null to original Shot.
iii) parent the original shot to the camera(I guess 3D tracked motion data is in this cam).
iv) reset the original shot transform
– anchor point (360, 243, -z) ; in NTSC D1, z is camera zoom factor
– position (0, 0, 0)
– all rotation to zero
– scale (100,100,100)*distance ; distance is the distance factor, in my case just 1,
you may need keyframes.
if all process is correct till here, you may see fixed(nothing happens to your preview)
shot and moving null, with your active camera view. But in other view you can see
the Null and the original shot move along in space.
v) if you want the absolute position data of the Null, make another 3D Null and make
expression in position.
L = thisComp.layer(“2D Null”);
L.toWorld(L.anchorPoint,time)
// this expression is in the tutorials of Dan Ebberts.
vi) convert this expression to keyframes in keyframe assistant.
that’s all, if I understand your situation right, it will work.