Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline Spots from 2 samples.
#7
I see. I think it is best not use, at least as a first step, the Curvy Generator for this. I suggest to make a script that computes the positions of P1 and P2, and then use them to define the orientation and position of each object. You can do this by using the CurvySpline methods (such as InterpolateByDistance).
Like you said, spline distance will differ from the linear distance. I am sure there is some math to do the equivalence, but for doing a search of the linear distance around the value of the spline distance (by sampling multiple points until reaching the one at the right linear distance) should to be too expensive. It could be a quick to implement solution.

One you have this solution, and if you see a need for it, you can translate that logic into a CGModule.

This is how I would have gone with it.
I hope this helped.
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
Spline Spots from 2 samples. - by BitBlit - 06-19-2026, 08:52 PM
RE: Spline Spots from 2 samples. - by _Aka_ - 06-19-2026, 11:18 PM
RE: Spline Spots from 2 samples. - by BitBlit - 06-19-2026, 11:58 PM
RE: Spline Spots from 2 samples. - by _Aka_ - 06-20-2026, 12:04 PM
RE: Spline Spots from 2 samples. - by BitBlit - 06-20-2026, 01:01 PM
RE: Spline Spots from 2 samples. - by BitBlit - 06-20-2026, 04:10 PM
RE: Spline Spots from 2 samples. - by _Aka_ - 06-22-2026, 08:22 AM
RE: Spline Spots from 2 samples. - by BitBlit - 06-24-2026, 04:38 PM
RE: Spline Spots from 2 samples. - by _Aka_ - 06-30-2026, 11:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline Issue Leading to Unity Freeze Pankaj09 1 368 08-24-2026, 11:28 PM
Last Post: _Aka_
  Connecting Multiple Spline Nodes Issue Ritesh Kadam 1 316 08-22-2026, 11:24 PM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,778 04-12-2026, 03:18 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 1,124 11-13-2025, 11:32 AM
Last Post: _Aka_

Forum Jump: