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
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 0 0 2 hours ago
Last Post: ShiroeYamamoto
Heart Create beautiful curves ShiroeYamamoto 3 9 03-26-2024, 06:25 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 13 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: