Hi all,
I have a problem with my platform game where I have set the W key to jump for my character. I also set an animation to play while the character jumps. The only problem is whenever I click W, the player doesn't always jump but the animation still plays. Sometimes, maybe like 10% of the time, the player will jump and the animation will play but normally it doesn't. I'm guessing it is because I have another animation running (Idle and walking), but not entirely sure. The code is very simple. It's just:
When W key is down ====>
Simulate control Jump
Set animation to "Jumping" (play from beginning)
Any advice is appreciated