Mouse Click

Anonymous 9 years ago updated by Ardahan 7 years ago 2
This discussion was imported from CodePlex

chimou wrote at 2013-06-06 11:09:

In my scene I have some cylinder and I want to select one of them by clicking on.

Thank you in advance

objo wrote at 2013-06-08 07:32:

Try to use a ModelUIElement3D, then you can handle MouseDown events

The idea is to treat the UI Element as a parent view and contain the model(s) within it? Then the UI Element handles mouse interaction?

If you still looking for answer I have found a hit testing method a couple of days ago and it works to me perfectly.

Like you do, I am select one model from among of many model and color it differently from others.

The solution is here;