I am trying to change my enemy into a ragdoll when it dies. This is working fine, however, when the ragdoll prefab instantiates, the model stands there in an akimbo position for about a second, then falls to the ground.
Has anyone else had this problem? Any ideas how to correct it?
These are the final 2 lines of code in the damage routine, after it is determined that the enemy is dead...
GameObject go = Instantiate(RagDoll, gameObject.transform.position, gameObject.transform.rotation) as GameObject;
Destroy(gameObject);
Any help is appreciated.
-Larry
-Larry