Kakashi first attempt failed. Without the sharingan
Then Minato told Kakashi not to use the jutsu.
But with the sharingan, he can adjust his speed and direction, in order to succeed.
Just as similar to Naruto using his creation jutsu "Wind Rasengan" against Kakuzu.
Naruto arm was somewhat damaged, then Tsunade told Kakashi & Yamato to prevent Naruto using that jutsu.
But after Naruto gained the senjutsu power, he could throw his "Wind Rasengan" at Pain, without giving damaging himself.
Then Minato told Kakashi not to use the jutsu.
But with the sharingan, he can adjust his speed and direction, in order to succeed.
Just as similar to Naruto using his creation jutsu "Wind Rasengan" against Kakuzu.
Naruto arm was somewhat damaged, then Tsunade told Kakashi & Yamato to prevent Naruto using that jutsu.
But after Naruto gained the senjutsu power, he could throw his "Wind Rasengan" at Pain, without giving damaging himself.