-
Layer space / Comp space / World space
I know enough to know that I can use expressions to accomplish what I want, but I don’t use them often enough to know how exactly to do it. I have an image of a map as a layer (could be in a precomp, but doesn’t have to be), and I have a number of pushpin graphics as individual layers. I want to zoom in and out on the map, and I want the points of the pins (the anchor points) to remain “locked” to their respective locations on the map, even if the map scales up so much that some pins go it of frame. However, I want the pins to remain constant in size. I do not want the pins to scale.
My preference would be to have the map be a 3D layer so that I can actually zoom in 3D space rather than manipulating the scale of the map to create a zoom effect. I’m fairly confident that expressions driving the position of 2D pins can handle either scenario, but I’m open to suggestions. I know this involves converting coordinates to/from layer space, comp space, and potentially world space, but as I mentioned, I don’t know enough to figure this out on my own. I understand the concepts in an abstract way, but I’m afraid I would spin my wheels quite a bit before ever reaching the proper solution. Any help will be greatly appreciated. Thank you!