Hello, I'm quite new to SFML, but as far as I've searched, I had no luck finding people with a similar problem.
Anway, I have a group of sprites moving towards another single sprite. Everything works fine, but they stack on top of each other.
So I made some collision checking, and it would work fine, if I wanted for the sprites to stop moving completely, when colliding. I'm trying to make them walk/bounce away from each other when they get too close, while not stopping the movement towards their target.
If there any way of achieving this in an uncomplicated manner?
(I've managed to get similar results(by bouncing them in a direction, opposite/left/right of the movement direction), but the group of sprites would occasionally "teleport" between each other.)