- Home /
Question by
Vincenzo Albery · Aug 29, 2010 at 06:12 AM ·
3dpositionmouseobjects
3d Object attach to mouse
Hello Everybody,
I have a little question for you... I want attach a 3D Object to mouse... I can attach a texture, or gui to mouse with this codes but i need attach and 3d object to my mouse...
My Codes ;
GUI.Button (Rect(mousex,mousey,50,50), Obje);
or
GUI.DrawTexture(Rect(vectorx-15,-vectory + Screen.height-15,30,30),texture);
but how can i attach a 3D object to my mouse?
Can you help me ?
Comment
Answer by Vincenzo Albery · Sep 18, 2010 at 01:20 AM
Problem Solved!
I attach a plane to my object and i attach this plane to mouse :)
And how did you attach it too the mouse? Please post what you did :D!
"Problem Solved!"... Would be really nice of you to describe how you solved the problem. It would help others and Unity Answers would have one more answer...