In my game, various objects can come in contact with (say …) a ball, and I’ll need to respond based on where that contact occurred. Each object has several (shall we say) “target areas” on its perimeter, and I need to know which one of those areas was struck, so that I can cause it to change colors, the player to gain/lose points, and so on.
In my mind’s eye, I can think of several different possibilities for ways to do this, but I’d love to hear comments from others who’ve done similar things. Are the contact areas separate objects? And so on.