- Home /
child object to parent c#
using c#, how do I make a child object leave the parent object and become it's own parent?
Comment
Best Answer
Answer by TheKusabi · Aug 25, 2013 at 02:33 PM
A Transform cannot be it's own parent, but if you use
transform.parent = null;
on the child object, that will make it a root object.
Your answer
Follow this Question
Related Questions
Make a simple tree 1 Answer
Do Child Objects Trigger Parent Objects? 1 Answer
Instantiating an object on an empty gameobject?? 0 Answers
Object vanishes when becoming a child 2 Answers
SteamVR Door handle .. Door, Hinge Joint not Circle Drive. 0 Answers