|
My objective is simple, I have a character with a collider infront of him called "Hand", there is an object called "Box" I want it so when you press a button the object "Box" will parent onto "Hand" They both have coliders also. So lets say i press Space I want the object "Box" to move and parent onto "Hand" Dont link me to anything else as I have seen them all and they dont work...
What now?
(comments are locked)
|
|
Try setting up your code with empty lines and comments:
then start adding things. This will help you start to understand the code and allow you fend for yourself. I also suggest rather than space you try this: http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.OnMouseDrag.html
Apr 23 '11 at 12:30 AM
burgunfaust
(comments are locked)
|
|
Sorry, links are what you get when you ask something that's already got an answer: http://answers.unity3d.com/questions/52679/how-do-i-programatically-attach-objects-to-each-other/52685#52685
(comments are locked)
|
