Hi GameDev,
I have a problem figuring out how something like this would work:
In a component based system I have solid objects (which can collide) and gameplay type objects (which have various stats like damage...) which are combined (inherited).
Now if I detect a collision between 2 solid objects, in C++ how should I go about checking if the objects are gameplay type and consequently do damage to each other?
I will elaborate when I get more time, thanks in advance