Recently I saw someone on the internet say that Revenge Of The Sith was so powerful because of an effect called "Emotional Projection." This means that when you see the movie, your brain is not seeing Obi Wan and Anakin fight, it's "replacing" them with you and your best friend. That makes it really emotional and powerful, even if the actual relationship between the Jedis is (sadly) not fully compelling.
I really want to know more about this topic from a screenwriting/production point of view. Specifically, how to actually write/direct something that triggers the audiences to project their lives in the film so they can have a way more powerful experience.
I ask this because I am planning on doing a YouTube video explaining some of these concepts so aspiring filmmakers and screenwriters can use these techniques in their favor; so any additional information you might think is useful is much appreciated, along with some examples of writers/directors that have purposefully used emotional projection, if such cases exist.
How is "emotional projection" created in screenwriting? Where can I find information and resources about it? What are some other good examples?