- Home /
Question by
extracodex · Aug 11, 2014 at 03:12 PM ·
objectdragstick
Drag and stick an object to another
Hi, I'm new in C# and I'm making a 2D game in Unity. I need to know how to drag and then stick an object to another. I read other posts about that, but it didn't solved my question. My objects are all Rigidbody2D and stick at point of contact.
Comment
Too open question, I'd suggest you to start reading about Transform's parent property and hierarchies, the way to go if no one comes up with a solution for you.
Good luck.
Your answer
Follow this Question
Related Questions
How do I lock a certain Axis on a drag object script? 0 Answers
DragObject Damping 2 Answers
How to create skills and drag them to slots. 2 Answers
Scale Cube script Help? (In-game via mouse) 2 Answers
Bullet mouse control 2 Answers