Hi,
The assets I used includes a jumping animation, so I went ahead and added that to my project, but the animation gets hung up on the last frame and doesn’t revert to its previous state (Idling, Running)
Imgur: The magic of the Internet Idle to jumping is set to true, and it’s reverse to false. Same with running and jumping0.
void OnJump(InputValue value)
{
if(value.isPressed)
{
myAnimator.SetBool("isJumping", true); // Set the IsJumping parameter to true
myRigidBody.velocity += new Vector2 (0f, jumpSpeed);
}
}