SFML community forums
Help => Graphics => Topic started by: KasHKoW on August 10, 2011, 10:14:04 pm
-
How would I make a collision detection for 2d objects for more than 2 objects.
As in 3 object collision or possibly more?
-
Pairwise?
If there are many objects (100 are not many), then testing collision for every pair of objects is not efficient. We have already discussed that here (http://www.sfml-dev.org/forum/viewtopic.php?t=5373)...
-
I know it's not efficient that's why i posted the question. What I want to know is how to detect collision with more than two objects all at the same time... Rather if it's a thousand or 3.
-
As I said, we've recently had that discussion. Read the linked thread, then you can still ask more specific questions ;)