How do I implement a smooth jumping forward Mechanic?

Hello,

I’m having some issues with my jumping mechanic. I want to implement a jumping mechanic that goes up as well as forward.

My code makes the player jump up and forward but it’s a little jarring. It seems as if the player is just teleporting forward. I want it so the user can see the player jump from point A to point B smoothly.

      else if (Mathf.Abs(distance.x) < Mathf.Abs(distance.y))
        {
            Debug.Log(" Vertical Swipe");

            if (distance.y > 0)
            {
                Debug.Log("Up Swipe");

                if (Grounded())
                {
                   

                        myRigidbody.velocity = new Vector3(myRigidbody.velocity.x, JumpForce);
                        transform.Translate(new Vector3(jumpDistance, 0f, 0f));


                }

               
                

            }

Look at Unity - Scripting API: Rigidbody.AddForce
It should make for a good launched jump.