How to keep pawn not to pass through the walls?

It didn’t help. I use movement component - FloatingPawnMovement and AddMovementInput function to change position from InputAxis MoveUp and MoveForward. But it still doesn’t work