A friction-based invisible wall?

I’m making a Star Fox-like game with flying combat and I have invisible walls to stop the player from exiting camera view, but having the ship stop in place immediately when hitting the walls feels a bit jarring (and comes with a weird glitch where the player gets stuck after contact sometimes), im looking to add invisible barriers that work more like rubber bands (when you push against them you dont stop instantly, it slows you down first, then pushes you back when you let go) This is a hard concept for me to explain through text

Is there a feature in UE5 that will let me do something like this? Thanks.

I don’t think there’s anything pre-built in UE for that.

The way I’d do that is to have two tiers of “walls”, the first, closest to the player, would not actually block, but instead just trigger a state where the player’s velocity is automatically shifted towards the center when they go through it. The second is still a hard wall, just in case the push is not enough.

You could also do it by calculating the distance from your desired center point, and if it’s beyond a certain threshold, you again start applying velocity to that center point, maybe multiplied by the distance (probably do it separately for horizontal distance vs. vertical distance or the player will be constrained to just a circle)