- Home /
undoing the process of parenting an object
I made the transform of object A a child of object B transform, so that I can use object B to move object A. As shown below
objectA.transform.parent = objectB.transform;
Now, I want to undo the process, that is, to allow objectA to be able to move on its own.
Thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613171021im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Make a simple tree 1 Answer
Kinematic Child Object Jumping Above Player 1 Answer
Raycasting from child weird behaviour 2 Answers
iOS Instantiate transform as child -- positioning bug 2 Answers
How Do I Offset a Childs Transform? 3 Answers