Hi I’m doing a game for android.
I have a problem with enemy death.
I use mecanim animation and death regdoll.
but fail to stop mecanim animation
it SetBool, Loop, run animation
I tried use this
function dead()
{
for (var i = 0; i < bodypart.Length; i++)
{
bodypart[i].rigidbody.isKinematic = false;
myAnimation.SetBool("Run", true);
but nothing happens from it
I also tried
animation.Stop ();
but same result