Hi all,
I want to be able to attach a game object to another when you click on the object. I am making a game involving putting pegs into slots. The peg follows the mouse and I then wish to click on the slot and attach the peg to the slot.
I am using the OnMouseDown function for the clicking the slot but cannot figure out how to attach the peg object, any suggestions?
Cheers