- Home /
The question is answered, right answer was accepted
Can I detach child objects from their parent?
I have a GameObject with a ragdoll as the child. The ragdoll is set to activate when the players health sets to 0. The only problem with that is that when the ragdoll activates, it is still a child of the parent with has had active set to false. The ragdoll will just stay in mid air. Is there a way for me to detach the ragdoll from it's parent while still keeping the ragdolls rigidbodies together?
Answer by jordanblythe104 · Feb 26, 2013 at 02:29 PM
Fixed, I used transform.DetachChildren();
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Make a simple tree 1 Answer
Detach from parent OnCollisionExit 2 Answers
Detach a child that has children 1 Answer
Ragdoll Collisions and Parent-Child Compenent Affect 0 Answers