Quantcast
Channel: Answers by "elelec"
Viewing all articles
Browse latest Browse all 4

Answer by elelec

$
0
0
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 all articles
Browse latest Browse all 4

Trending Articles



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