How to aim and Throw a Ball from a third person character

Hi All,

I’m trying to throw a ball from a third person character and i have the throw animation set up and the ball is attached to the player’s hand and the hand is set as the parent, however when trying to throw the ball, it will float around.

Can anyone help?



I managed to fix the code however, now it has something to do with the animation. whenever i throw the player is hitting himself with the item.