Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best way to dynamically create splines from original spline?
#1
I'm working on a slot car racing track which is created using Curvy Splines, however I'm wondering what the best approach would be to create 2-3 lanes from the original spline that generates the road mesh?

In my current setup I simply offset the empty object with the CG Path Controller a couple of units on the X axis to get different lanes, but this doesn't work since the lanes then are exactly the same length. To solve this I need additional splines on the sides of the original spline, making the inner lane shorter in curves and the outer lane longer in curves. 

Are there any built in methods to get additional splines from a parent spline (or mesh if I need to project it)?

EDIT: So it turns out there's actually a pretty nice offset built-in in the CG Path Controller, that works great. After I set the offset angle and the offset amount it works great. Smile
Reply
#2
That was the answer Smile
Have a nice day
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
  How can I find the point on the spline after applying with offset angle+radius? Chanon 1 2 2 hours ago
Last Post: _Aka_
  Intersection of two curvy splines Einherj 1 3 6 hours ago
Last Post: _Aka_
  Scale Deform Mesh Along Spline? / aligning colliders MamasToast 6 33 09-25-2022, 08:47 PM
Last Post: _Aka_
  How can I remove one segment of the road that I made by spline? Chanon 3 7 09-14-2022, 04:44 PM
Last Post: _Aka_

Forum Jump: