Changing/shifting rooms

So is it possible to change a room while playing. So when you go into a room and when you turn around the room changed. For example in Layers of Fear. The player enters a room, turns around, room changes (e.g door moved), player turns again, room changes again.

Thank you in advance


Any object you want to move would need to know if it is currently visible to the Player or not. If it is visible then it isnt allowed to be moved, if it isnt visible then call a function that moves it to a new location.