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

Character Contoller with Ragdoll

$
0
0
Could someone point me in the right direction of a tutorial showing me the right way to do this? I have a character walking left to right across the screen, he is controlled by a character controller and I have all his animation setup correctly. I now want him to ragdoll to the ground when he dies, on collision with certain objects in the world. I've used the ragdoll wizard, and at first I had a problem where the character was glitching about up and down the y axis. I guessed this was because the ragdoll was colliding with the character controller, so I went through disabling all of the colliders created by the ragdoll wizard, and enabling them again in code once the Character Controller detected a collision. This works but is still quite glitchy when the character ragdolls and also the ragdoll seems to lose all momentum the character had before the collision. I tried using Physics.IgnoreCollision(charController.collider, hit.collider); when it collides but this doesn't help. Am I going totally the wrong way about this?? Any tips greatly appreciated :)

Viewing all articles
Browse latest Browse all 565

Trending Articles



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