Ball Passing System for Unity
This is a simple system I’ve used to pass soccer balls, hockey pucks, and anything else you can imagine in a sports game from one player to another. The passing script contains everything needed to make something like this work and the logic for calculating the closest angle to your aim is pretty straightforward (and included in the project source below)
Video
Project Download
https://unity3dcollege.blob.core.windows.net/site/Downloads/Passing%20Balls.zip