Hello i have been trying to code something and i've been on one issue for alot of time
I am not sure what could be the formula to solve this,
Here what's happening
Black Ball : Dynamic Circle
Other Colored balls : Static circles
INFO : My collision system goes through objects with ascending IDS , so i will note the circles IDS in the middle of the balls.
First of all , we enter between the balls

So by logic , we will check the first ball and add the collision with it.

We finished Collision with the first ball , now lets do the second!

Our collision are over but.. it seems that it is still colliding with the first ball because it already went through it.
What formula or Code could i go through to get this result?

PS : i've tried to get the the sum of the two collision then put it on the player but its just going between them.