Quantcast
Channel: Questions in topic: "4.1"
Viewing latest article 16
Browse Latest Browse All 45

Need to stop animation

$
0
0
For a Wait animation I used the next code: ```If (velocityx ==0 && Time.timeSinceLevelLoad >= 40) { animator.Play("Wait"); }``` I tried stop with this code: ```else if( velocityx ==1 || velocityx ==-1) { animator.SetBool("Wait", false); animator.Setbool("Run", true!; }``` But I can't stop "Wait" to return idle animation its like "Wait" replaced my "Idle" animation, charachter only can run, and jump, sombody help me, please?

Viewing latest article 16
Browse Latest Browse All 45

Latest Images

Trending Articles



Latest Images

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