Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combine splines of different interpolation for use in generator
#1
Hi,

I've found most of the answers I've been looking for by browsing this forum so far, but I've finally hit a bit of a snag in one department.

I'm dynamically generating 'orbit' curves through a combination of catmull (following planet curvature) and bezier interpolation (for exit/entry), connecting the ends of the splines as required and moving objects along said spline/s with a controller. All of that works great, but I also generate 'waypoint' meshes that show the trajectory curves that are visible when the object is selected, and up until now I've just been generating as individual splines-- but I'd like to somehow combine the catmull orbit movement and bezier departure curve into one 'thing' that can be used to generate a resulting mesh that matches the connected splines involved.

I presume I'm stuck accepting that the merged spline conforms to one interpolation or another and the spline shape changes away from that defined separately, so I was wondering if there was another option available? 


Lee
Reply
#2
Hi
For now there is no way to have a mixed interpolation type spline. That might change in the future, but don't rely on that.
Have you tried having a generator for each spline?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
Hi Aka,

Yeah, I started down that road after posting here and it looks like I can make that work-- there's a bit of busywork involved because I'm generating the remaining travel distance as the object moves along the connected splines, but it's arguably more versatile this way anyhow.

Thanks for the swift reply, I owe you a decent asset store review at some point =)
Reply
#4
You are welcome
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  GameObjects that move along the path of Curvy Splines will protrude. yanke 3 45 Yesterday, 11:58 AM
Last Post: _Aka_
  Looping splines and GetNearestPointTF TurboHans 1 82 10-13-2021, 02:07 PM
Last Post: _Aka_
  Volume Spots and Distance from generator topquarkone 5 325 09-16-2021, 08:17 PM
Last Post: _Aka_
  Have generator run only once topquarkone 6 353 09-14-2021, 02:05 AM
Last Post: topquarkone

Forum Jump: