Here am I again!
So here's my second question that I have (If you don't know of what I'm talking about, see
here)
So my problem is, that sometimes the circles are bouncing in the window and hit another circle, they "glitch" and stick to each other. So I got a possible solution from Golden Eagle, he said that I should read
this Article, so I read it and tried to understand it.
So, I assume that what I have to do is to save the state of the program , and if the 'accummulator' is bigger than the delta time, set the old state before collision to the new, and then adjust the time?( I hope you can understand what I'm trying to say with my bad english
![Wink ;)](https://www.sfml-dev.org/forums/Smileys/default/wink.gif)
) Please correct my if I'm wrong!
But would that method be efficient? Because while the game is 'lagging' I have to update the game, which would be very complicated if you have a look at my code... And it wouldn't be good for the performance to save a lot of states in the loop...
Does anybody have an idea how to solve this more efficiently, without re-writing nearly all my code?
(Maybe I just misunderstood the article..
![Smiley :)](https://www.sfml-dev.org/forums/Smileys/default/smiley.gif)
)
Any help is appreciated!