I was watching vertigo last night which is directed by alfared hitchcock and I saw some scenes in which he used 'dolly effect' I was wondering how do you make that effect?
The "Vertigo effect" is achieved by zooming in while tracking out, or zooming out while tracking in. When done right the size of the subject stays the same in frame, while the perspective shifts unnaturally, giving an uncanny feel to the footage.
The effect is achieved in-camera. It could be replicated in post by separating the planes of the image along the depth axis and replicating the real-world camera movement, but it would be highly labour intensive, compared to doing it on set.
P.S. Just to be suuuper pedantic, a "dolly" is a sideways movement, a movement forward or backward is a "track".