Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gradually rendering paths
#1
Hi! Smile I started learning Curvy recently, and I need help figuring something out.

I have a 2D top-down project where I render paths along splines on a map screen. Currently, I use CurvyLineRenderer to generate simple solid lines as paths on the map.

I want to be able to render paths gradually from 0% to 100% of the spline. I thought of subdividing control points very finely, and turning CurvySplineSegments visible and invisible, but that would be choppy and probably inefficient. Is there a property of the spline or the renderer that I could set, that would make the path render up to X%? If so, then I could use it in a tween. Can you advise me on the best way to go about this?
Reply


Messages In This Thread
Gradually rendering paths - by Ærilwentar - 05-07-2020, 11:02 AM
RE: Gradually rendering paths - by _Aka_ - 05-07-2020, 02:19 PM
RE: Gradually rendering paths - by Ærilwentar - 05-08-2020, 09:54 AM
RE: Gradually rendering paths - by _Aka_ - 05-08-2020, 11:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  To dynamic generate the connection between paths Canis 4 2,156 08-07-2020, 07:33 PM
Last Post: _Aka_
  rendering a road with junction dazz777 3 3,210 07-12-2019, 11:19 AM
Last Post: _Aka_
  One generator for multiple paths justinms66 10 11,927 05-30-2019, 03:48 AM
Last Post: Horibe
  Referencing Paths in Editor johnnemann 2 4,406 06-15-2016, 01:43 PM
Last Post: Jake

Forum Jump: