I have multiple objects that can collide with each other and with an array of static objects. I need to identify which object hit another. This is to determine action/inaction and score/no score situations.
In the attachment I have a code snippet showing the setup of a set of blocking objects for the game. Random collision events with these objects will happen through out the game. I need to determine what object hit which blocker to determine what action and/or point assignment needs to be made.
The file contains the data in the table used to define the blocker objects these table from left to right are:
X, Y, Rotation, png name, object name, object class (reactive on non-reactive), event type (based on class), and points (if any).
Finally to the point how can I determine what blocker was hit and by what object? I expected to be able to loop through the boardGroup to pull out the sub-table containing a specific set of blocker information based on the blocker.myName value but have not been successful.