Recently downloaded Irrlicht and I absolutely love it.
The tutorials and forum are really helpful but I have a question I could use some help with.
The game I'm making is an RTS, so I need to get object data when I click on the mesh. How would I get things like the remaining hit points of a building by clicking on the mesh representing it?
For example (in case I haven't explained myself well
![Razz :P](./images/smilies/icon_razz.gif)
Say I have a class called Building_A. This class has a property called health and a mesh called Building_A_Mesh. How would I get the current value of health if I were to click on the mesh in game?
Thanks in advance!
Best regards,
Rich