Sweep blocking panw Movement C++

Hello i am still a beginner with ue5 and i encountered a problem that impact my pawn movement in C++.

For the context :

  • I was trying not to use the character class : I am trying to use a pawn as a player.

  • This pawn is subject to gravity ( i hardcoded it yet)

  • It can jump and move

The problem is : i use the sweep of AddActorLocalOffset but when the character is colliding with something is not moving anymore. I search means to unlock the character. I tried using the FHitResult returned by AddActorLocalOffset and applying an offset at the position, i think it will work but do you know the best mean to do it ?

Thx For the Help