How to make characters overlap each other but when they do they push away from each other

I want characters to walk through each other but not stay overlapped by pushing away from each other any ideas

What exactly shall overlap and when should they start to be pushed away?

For overlaps which take too long, you could start a timer in the “Begin Overlap” event which is then increased by event tick until the “End Overlap” event is called. If the timer takes too long, you could temporarily create a collision component which blocks the other character and pushes it out of reach.

I want the whole character mesh to everlap each other

But I want each character to have a gentle rejection force so they no longer overlap

Maybe you could calculate the distance vector between your characters and add a force to your component which is directed in the opposite direction of the distance vector. This force could start to be applied on Begin Overlap and be dynamically increased e.g. based on the remaining distance between the character locations.

Add force doesnt seem to work on characters **as the capsule component needs to simulate physics which stops character moving and makes the capsule component fall over **

i found a solution it is to on character capsule component overlap add them to an array of all overlapping characters then on tick iterate through them creating an average from all of the character positions and move in that direction here it is bellow i