Drawing a curved line from A to B

  • 13 favourites

Attached Files

The following files have been attached to this tutorial:

.capx

Stats

1,654 visits, 2,205 views

Translations

This tutorial hasn't been translated.

Tools

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.

Cheers

.CAPX
  • 1 Comments

  • 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.