Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Ragdolling not properly problem.

$
0
0
How do you get the ragdoll to instantiate at the same exact, form of the player/AI? My ragdoll is almost spawning at the desired position and rotation but its as if it gets pushed instantly onto the ground and instantiates a bit to the front? Can't tell it happens too fast. I fixed the physics layer part. Even tried making the AI completely ignore the ragdoll too. Nothing worked. public GameObject ragdoll; void Death(){ // This ignore didn't work either. Physics.IgnoreLayerCollision(11, 15); Instantiate(ragdoll, player.position, player.rotation); Destroy(gameObject); } Ok so the problem from what I see is that when instantiated it get pushed out or collides with something?. So how to get it to instantiate properly?

Viewing all articles
Browse latest Browse all 171066

Trending Articles



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