- Home /
click on a 3D object in the game
How can I click on a 3D object in the game, and execute an action in this way?
Comment
Answer by duck · Mar 08, 2010 at 04:05 PM
Have a look at the OnMouseDown and OnMouseUp events. For this to work, you need to make sure your objects have colliders on.
Answer by flashtech · Mar 08, 2010 at 05:23 PM
Thanks you a good man ;-)
No problem - although please use the "Add Comment" button to comment on answers, and please accept & vote up answers which suit your question best!
Your answer
Follow this Question
Related Questions
Drag and Drop with perspective camera 3D 1 Answer
C4d r13 import problem 1 Answer
Looking for a 3D object viewer 1 Answer
3D Object Position on GUI Screen 1 Answer
Adding a model to the interior of a building model 2 Answers