So you found a collision. So what's next?
I am trying to come up with a way to handle collision detection cleanly and elegantly, and as simply as possible, without doing multiple dispatches or what not...
So comparing object types with each other is out. Using RTTI is out. Alas, those are the two methods which I am most familiar with.
What other way of handling collisions are there?
Thanks in advance!
I am trying to come up with a way to handle collision detection cleanly and elegantly, and as simply as possible, without doing multiple dispatches or what not...
So comparing object types with each other is out. Using RTTI is out. Alas, those are the two methods which I am most familiar with.
What other way of handling collisions are there?
Thanks in advance!