make the ball stick to the path

Hi guys , I want the ball to stick to the path and whenever it find a corner like in the image it continue normally without flying away .

• What have you tried so far? Why did it fail? Are you using curves to draw a path? Do you want the ball to follow the line strictly, or using physics? (as in, the line is the ground) – TomTsagk Jul 24 '18 at 14:46
• I didn't try nothing, I just want to solve this problem I don't care if I use physics or something else just help me to solve this problem , thanks :) – Si Lawas Jul 24 '18 at 14:49
• The reason I'm asking is that I can't understand what your desired result is, so I can't give you a solution. A ball following a line is completely different than a ball that is bouncing on a line, different scenarios, different solutions. I'm just trying to save the time of someone giving you a solution you are not interested in. – TomTsagk Jul 24 '18 at 14:55
• are know man , it's not rocket science . I just want when the player touch the screen the ball move but along the path like it should collide ;) – Si Lawas Jul 24 '18 at 14:59

LineRenderer line = Get...;