- Home /
This question was
closed Dec 10, 2014 at 06:11 PM by
unimechanic for the following reason:
Duplicate Question
Question by
brandonhotdo · Sep 29, 2013 at 08:30 PM ·
javascriptparenting
Parenting Objects
Hey i was wondering if someone can show me in java script a code that when you click on a object it will parent you with that specific object! so if i clicked on a object it will follow me around!
Comment
I've looked around and I finaly put togther some code and vowla i got it working much faster than i ecspected!
Best Answer
Answer by KiraSensei · Sep 29, 2013 at 09:42 PM
Unity answers is made to help people with very specific questions. Try to do some stuff on your own, very simple stuff, like write something on the debug log if you click on a game object. Separate your problem to several very simple problems. And if you have an issue concerning one of theses problems, you can ask the question here...