I have a problem with setting active *setActive* true/false with a simple ragdoll. I made a scene with a ragdoll where I am just turning the whole gameobject setActive true/false. Unfortunately the ragdoll has some strange behaviours.
My main purpose is to reset the ragdoll to the prefab settings (pooling system). I was able to change the position and rotation of the childs, but still I had some weird problems. I managed to find that setActive causes this strange behaviour and I am just out of ideas how to get rid of it.
Please check the link below. You can see that at the beginning ragdoll is laying on the ground, then I *setActive* to *false* and after that to *true*. If you focus you can see that the parts of the ragdolls are moving a little, I think that it may be caused by some joints settings.
**[strange ragdoll behaviour GIF](https://gfycat.com/CommonObviousAustralianfreshwatercrocodile)**
↧