You could work with triggerboxes attachd to the objects the player can collide with. every time the pawn overlaps the triggerbox, movement will stop.
You could work with triggerboxes attachd to the objects the player can collide with. every time the pawn overlaps the triggerbox, movement will stop.