Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Collision detection for more than two objects?
Print
Pages: [
1
]
Author
Topic: Collision detection for more than two objects? (Read 1694 times)
0 Members and 1 Guest are viewing this topic.
KasHKoW
Newbie
Posts: 41
Collision detection for more than two objects?
«
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?
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Collision detection for more than two objects?
«
Reply #1 on:
August 10, 2011, 10:14:41 pm »
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
...
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
KasHKoW
Newbie
Posts: 41
Collision detection for more than two objects?
«
Reply #2 on:
August 10, 2011, 10:28:11 pm »
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.
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Collision detection for more than two objects?
«
Reply #3 on:
August 10, 2011, 10:31:11 pm »
As I said, we've recently had that discussion. Read the linked thread, then you can still ask more specific questions
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Collision detection for more than two objects?
anything