Quantcast
Channel: Questions in topic: "ragdoll"
Viewing all articles
Browse latest Browse all 565

ragdoll pooling?

$
0
0
I'm really struggling to find a solution here, and it's an issue that's plagued me to some degree for as long as I can remember. Is there any way to completely reset a ragdoll? When pooling ragdolls I start to notice very quickly that they behave unnaturally. Having a pool of 1 ragdoll despawn and respawn over and over, it takes no more than 3 spawns for it to become very noticeably not-realistic. When I start, I spawn the ragdoll at the position of the enemy that just died, with the limb positions and rotations matching the mecanim model. The first 1-2 times he dies, this is perfect. Very quickly though it starts to decay until the ragdoll is immediately imploding into a ball, legs flying everywhere, sometimes shooting across the map from the sheer velocity of built-up forces. I have tried toggling kinematic on/off and gravity off/on before destroying. I have tried resetting position/rotation on spawn. I have tried various settings from here: https://docs.unity3d.com/500/Documentation/Manual/RagdollStability.html I'm not really sure what else to try at this point, any suggestions welcome!

Viewing all articles
Browse latest Browse all 565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>