Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to generate mesh on spline at runtime?
#8
(07-18-2023, 10:59 AM)_Aka_ Wrote: The solution is to use the absolute position in the controller, and instead of lerping between 0 and 1, you lerp between 0 and spline_length

The issue you encounter is because the relative position of the controller is not evenly distributed along the spline. This is explained here:
https://www.youtube.com/watch?v=rP0zuAEoVJw&list=PLatR0iPtXq-xxul-Ys-vQSLMaLXQnaU65&index=4

Worked like a charm! 

Thanks again for your superb customer service!
Reply


Messages In This Thread
RE: How to generate mesh on spline at runtime? - by _RicO - 07-18-2023, 10:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get length starting from one spline to connected nth spline Dragon-3623 1 1 05-14-2024, 04:52 PM
Last Post: _Aka_
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_

Forum Jump: