Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best way to dynamically create splines from original spline?
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
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.

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 19 54 06-23-2024, 02:26 PM
Last Post: _Aka_
  Invisible Gizmos In Latest Curvy Splines orrenravid1 1 3 06-11-2024, 07:36 AM
Last Post: _Aka_
  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_
  Twisting Splines ZiggZagg 6 11 05-14-2024, 04:48 PM
Last Post: _Aka_

Forum Jump: