Hello this question has already been asked. See this thread. For your problem I’ll use an offset of the labyrinth path of wall. So see that
And if not 90° see this