void FixedUpdate() { //Debug.Log(horizontal_run_speed * Time.fixedDeltaTime); //Feeds input into the Character_Controller to move the player controller.Move(horizontal_movement_speed * Time.fixedDeltaTime, player_jump ); player_jump = false; }
private void FixedUpdate() { if (dash) { controller.Dash(horidashMulti * horizontalMove * Time.fixedDeltaTime, vertdashMulti * moveSpeed * Time.fixedDeltaTime, dashDirection); dash = false; } else if (!dash) { controller.Move(horizontalMove * Time.fixedDeltaTime, jump); jump = false; } }