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
  Can Curve Spline be used for an in game level editor. Lupos 30 53 06-03-2023, 10:58 AM
Last Post: _Aka_
  Switch Spline Problem erenjeagerot 4 5 05-30-2023, 10:49 AM
Last Post: _Aka_
  Programming a first-person player/camera to follow a Curvy Spline kenmarold 1 2 05-21-2023, 05:03 PM
Last Post: _Aka_
Information Curvy Splines is on sale _Aka_ 0 0 05-15-2023, 07:48 PM
Last Post: _Aka_

Forum Jump: