text: How i can draw curving path in scene and gameobjects walk on it - Unity Answers
  Question by jehad-mashhour · Mar 15, 2015 at 07:34 PM · pathdrawline
  How i can draw curving path in scene and gameobjects walk on it
  Please I need help I have a spheres and i want to walk it on a path that i made it on the Scene ,How I can program this path ,I need some tutorials or assetStore? ,i searched in google and youtube but i didn't find good some thing , Please help me?
  Answer by Cherno · Mar 15, 2015 at 08:24 PM
  It's probably best to divide your curving path into straight sigments that approximate the curvature. You could try looking into Bezier curve functions that let you define a start and end point and two points acting as their bezier points respectively. This would give you one segment. Do this for al the segments in the path (the more segments, the smoother the resulting path curve, of course). As for moving objects along the path, that's just a matter of storing the points along the path and then using Vector3.Lerp to make the gameobject transition along.