Making the ball be in front of me

Hi! I’m on a soccer project. I want to get to ball in front of the controlling player, I’m simply using this code

				transform.position = controllingPlayer.transform.position+(sahip.transform.forward*4);

that makes the ball in front of me, but it makes the ball ignore the gravity. How can I make this, without affecting rigidbody?

Use a raycast that checks if the ball is grounded:

     //do your movement
    //don't do ball movement