Dashing Strike/Teleport question

Benn playing a WOL Monk for a while and I see that I can go through SOME walls SOMETIMES and jump SOME vertical levels SOMETIMES.
Is there any logic to this? Is there any way to know which walls I can go through and which ones I can’t? I end up wasting Dashing Strike banging into stuff wondering If I’ll go through. Thanks.

You must have a Connection like an open door to the area to “teleport”.
But yes, there are tricky spots like the Exit of the Overseer dungeon.