how to shot a soccer ball in curve path according to the swipe type

How to move the soccer ball in curve path?? Please some one help me… I have to write a logic for swipe type… If I will swipe vertically than the ball should travel straight to the goal. If I will swipe in curve shape for example, in “C” shape then it should travel in “C” path. If swipe in opposite “C” shape than it should travel in opposite “C” path. Please someone help me

I assume this is repost. Answer in original question:

http://answers.unity3d.com/questions/377944/how-to-make-a-ball-rotate-as-per-its-moving-direct.html

Check this asset its has both 2d and 3d implementation
link: 2D and 3D Swipe Ball Control | Physics | Unity Asset Store