Finished making successful path for event controls

This commit is contained in:
2020-02-01 13:27:07 -05:00
parent 26083d4112
commit 588df6407f
11 changed files with 239 additions and 79 deletions

View File

@@ -107,7 +107,7 @@ public class Player : MonoBehaviour
private void HandleAnimations()
{
animator.SetBool("IsRunning", Mathf.Abs(rigidBody.velocity.x) > float.Epsilon);
animator.SetBool("IsOnGround", IsPlayerOnGround());
animator.SetBool("IsGround", IsPlayerOnGround());
animator.SetFloat("YVelocity", rigidBody.velocity.y);
}
}