It works perfectly. Thanks Dan.
So to understand this so I idon’t keep having to come back to you on almost the same question…
L = thisComp.layer(“POI”);
(L is a local reference to layer “POI”)
parent.fromWorld(L.toWorld(L.anchorPoint))
So, I simply don’t understand this, even with the manuals here!
L.toWorld(L.anchorPoint)
this takes the anchor point of the POI layer and returns a 3D coordinate of it’s absolute position in space – but the anchorPoint doesn’t ever change: always [0,0,0] ??? I don’t even get why it’s L.toWorld(L.anchorpoint) – why not simply toWorld(L.anchorPoint)???
I’m looking at the rest of the line – sigh – I think I’ll stop. Sorry. I’m frustrated. I need to understand how this works. Is it possible for you to quickly break this second line into pseudocode? I need a revelatory moment. If not, no worries – I’ve got to get to the bottom of it.
Regards, Paul.