Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Interpolate not respecting CurvySpline translation
#1
I have a CurvySpline with CurvySplineSegment nodes underneath it. If I leave the CurvySpline position at 0,0,0. The Interpolate() function gives me back precise position data where the spline shows.

If I put a translation in the position of the CurvySpline node, the interpolation is offset from the CurvySplineSegments by the translation amount. What am I doing wrong here?

My "work around", (which may just be the solution) is to add the SplineCurves translation to the result returned by Interpolate(). Then its correctly concatenated. I just was expecting the interpolation function to do this for me. If anyone knows of a "magic switch" that sets Curvy into this mode automatically, let me know.
Reply
#2
Speaking of controllers, there is an option "Space" to use world mode.

But in general Curvy splines return local space coordinates. It's faster and most of time it's what you want. Just transform the results into world space! There is even a convenience method, see here!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CurvySpline Editor event ATHellboy 1 660 03-08-2020, 01:51 PM
Last Post: _Aka_
  [Fixed]CurvySpline.Length can return 0 during init stage c0ffee 2 981 01-16-2020, 01:56 AM
Last Post: c0ffee
Information [Quick and dirty] Shape Extrusion: interpolate between multiple Crosses _Aka_ 9 6,501 09-02-2019, 09:42 PM
Last Post: _Aka_
  Duplicate CurvySpline pysnoo 1 1,154 07-01-2019, 04:55 PM
Last Post: _Aka_

Forum Jump: