//if the ground detecting circle collider hits ground
 void OnTriggerEnter2D(Collider2D collider)
 {
     if (!collider.CompareTag("Player") && (collider.name != "CastleLeft") && (collider.name != "CastleRight"))
     {
         platformerController.SetIsGrounded(true);
         platformerAnim.SetBool("Falling", false);
     }
     if (collider.name == "block_jumppad(Clone)")
     {
         //platformerController.ApplyJumpPadPhysics();
     }
     if (collider.gameObject.name != "block_ice(Clone)")
     {
         platformerController.ice = false;
     }
     if (collider.gameObject.name != "block_tar(Clone)")
     {
         platformerController.tar = false;
     }
 }