Change scene when turning around

Hello!

I am working on a project where there are two overlapping timelines in the same level. I want to design it so that when the user turns around, the scene flips between the timelines. So when facing north, he is in the future and when facing south he is in the past. Similar to the mechanic in Antichamber if you have played that. Does anyone have an idea of how I would go about doing that?