Drawing a curved line from A to B

  • 16 favourites

Attached Files

The following files have been attached to this tutorial:



2,828 visits, 3,794 views



This tutorial hasn't been translated.


This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

One method of drawing a curved line from A to B Using Pathfinding and lerp.

Try moving the blue box sprite(2) around in the layout to change the shape of the Bridge, move it into the water to make the Bridge curve the opposite way.

Hope this has been of some help.



  • Order by
Want to leave a comment? Login or Register an account!
  • This looks like very clever code. I tried it in c2 by pressing 'run layout' and arrow keys. the wheel moved over the bridge, but didn't affect the curve. I expected the curve shape to change based on where the wheel is.