I have a big ModelVisual3D
(e.g. car) which is divided into many smaller GeometryModel3D
objects (e.g. tyres, seats, wheels, etc.).
I would like to hit test the ModelVisual3D
when the mouse is clicked and determine which GeometryModel3D
was hit. I can hit test my car (the ModelVisual3D
) but cannot determine which part of the car (the GeometryModel3D
objects) was clicked.
Does anybody have an idea how I can determine the exact part of my model when handling a MouseLeftButtonDown
event (or any other Mouse event)?