- Home /
selecting bones with mouse
Hi everybody so I have a problem here I made something like a human with unity objects and then i wrote a code that allowed me to know which object is pressed with mouse and then the code would enable the light component for that object.
this worked perfectly as you can see but I couldn't leave my character weak like this so I made a character with blender and I replaced it with my old character and here is where the problem begins... the new character is made out of one mesh and lots of bones and i have to select the bones but my code was able to know which object is pressed with mouse but now it has to tell me which bone is pressed and i don't know how to do this...
and also i'm kinda noob so I will be really happy if you answer simple :D
Your answer
Follow this Question
Related Questions
Can I change GUIButton behaviour? 1 Answer
Convert vector in world to mesh 1 Answer
Remove a part of image on mouse click ? 1 Answer
Activate gameobject upon mouseclick 1 Answer