Quantcast
Viewing latest article 1
Browse Latest Browse All 4

Answer by elelec

Maybe the animation doesn't get recognised and, if it doesn't, it will prevent your whole event from firing sometimes. Try making it like this: if (jump) { rb2d.AddForce(new Vector2(0f, jumpForce)); anim.SetTrigger("Jump"); jump = false; } and see if your character will jump and if the animation will play

Viewing latest article 1
Browse Latest Browse All 4

Trending Articles



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