AddLocalOffset. Can it work like AddMovementInput in terms of collision?

Hi guys

If we constantly move pawn with AddMovementInput and try to walk through wall and do it with some angle to wall, we will not really stop, our character will tends to slide along that wall and continue to move.
if we try the same with AddLocalOffset node, our character will just “stick” to a wall in point where collision happened and will stop immediately.

If there some easy way to achieve behavior like AddMovementInput when we use AddLocalOffset?