Skip to main content
edited tags
Link
Vaillancourt
  • 16.4k
  • 17
  • 56
  • 61
edited body
Source Link
ADuckWhat
  • 162
  • 2
  • 10

I figured this is would be the correct place to ask the following ...

  1. How would I go about making multiple object collision detection (Bullets For Example)?

  2. How would I make it efficient enough so that I can have many objects be able to detect thecollision of other objects collision.

The only idea I currently have is for each bullet to iterate through the other game objects and check collision individually. But that could/would have a terrible impact on time, considering that there can be many objects in the scene. I have also considered multi threading, but I really don't know how to apply it in game programming. Any Suggestions?

I figured this is would be the correct place to ask the following ...

  1. How would I go about making multiple object collision detection (Bullets For Example)?

  2. How would I make it efficient enough so that I can have many objects be able to detect the other objects collision

The only idea I currently have is for each bullet to iterate through the other game objects and check collision individually. But that could/would have a terrible impact on time, considering that there can be many objects in the scene. Any Suggestions?

I figured this is would be the correct place to ask the following ...

  1. How would I go about making multiple object collision detection (Bullets For Example)?

  2. How would I make it efficient enough so that I can have many objects be able to detect collision of other objects.

The only idea I currently have is for each bullet to iterate through the other game objects and check collision individually. But that could/would have a terrible impact on time, considering that there can be many objects in the scene. I have also considered multi threading, but I really don't know how to apply it in game programming. Any Suggestions?

Source Link
ADuckWhat
  • 162
  • 2
  • 10

Multiple Object Collision SDL

I figured this is would be the correct place to ask the following ...

  1. How would I go about making multiple object collision detection (Bullets For Example)?

  2. How would I make it efficient enough so that I can have many objects be able to detect the other objects collision

The only idea I currently have is for each bullet to iterate through the other game objects and check collision individually. But that could/would have a terrible impact on time, considering that there can be many objects in the scene. Any Suggestions?