Do i need some branch like If it hit wall (east) set rotation… ?
Normal
tells you the direction the hit surface is pointing to.
We’re treating the wall’s normal as forward
(X) and ensuring up
(Z) always points up-ish. Unless it cannot because X goes first.