Handling collision detection

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Handling collision detection

      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!
    • RE: Handling collision detection

      Why is comparing object types out?
      Mr.Mike
      Author, Programmer, Brewer, Patriot