that would work for an exploration type game but not if there are ai controlled enemies. for example lets say there was a enemy chasing the player when the player passed through the transport wall, then the enemies would react by turning 180 and running back across the map. you would also need multiple copies of the map which could cause issues in some cases