Original Post
Hi , My collision response of my new pool game does work well. After a while testing a bit I found some problems with the collision detection algorithm. If I shoot a ball véry slow in a bunch of balls sometimes (not often) they get stuck in eachother... I think I know what the problem is but can't solve it : first one ball overlaps another ball and has not enough power to "get away" out the other ball. I first solved that with checking whether a ball overlaps or not and setting them to their position 1 step before... Now I see this method doesn't work well because the position before can be taken during one step by an other ball that is moving !! I use for collision detection a standard qt function "Collisions()" which gives all overlapping items... Anyone who can give me some good advice how to solve such problems ? Thanks in advance ! Greetz