- Home /
Question by
Gariantroll · Nov 05, 2012 at 01:34 AM ·
inputcursorretrieve
How do you select an object with the cursor and retrieve data from that object selected?
I am using Javascript. Any help would be greatly appreciated. I know using rays has something to do with it, but I am a upper echelon noob.
Comment
Answer by AeonIxion · Nov 05, 2012 at 09:41 AM
You need raycasts, take a look at this: http://docs.unity3d.com/Documentation/ScriptReference/Physics.Raycast.html
Your answer
Follow this Question
Related Questions
Add Cursor (Top-Down-Shooter) 1 Answer
How can I control cursor with joystick 4 Answers
Disable mouse input and cursor in game 2 Answers
How to define in which text field the cursors is located 2 Answers