Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
In Game Roads - Curvy Generator Prefab?
#1
Lightbulb 
Hello,

I'm using curvy to allow construction of in-game roads over terrains.  I was wondering your suggestion for best approach to the Curvy Generator.  (I'm very comfortable with API access and run-time creation of game object hierarchies.)

Specifically, each road will need to have a curvy generator that is basically the same.  1 road = 1 spline, yes they will be able to connect in many ways.

Should I have a curvy generator prefab that is set up with everything I need (conform path, correct shape extrusion for the roads, etc.) and just GameObject.Instanciate that prefab when I have a spline I want to "turn into" a road?

If that isn't the best way to do it, what would you suggest?

Thanks!
Reply


Messages In This Thread
In Game Roads - Curvy Generator Prefab? - by etoreo - 01-03-2023, 11:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to rotate generator asteroids patndan74 6 576 05-08-2025, 10:07 PM
Last Post: _Aka_
  Morph game object along curve. mikechr2000 5 888 02-04-2025, 09:30 PM
Last Post: _Aka_
  Duplicate Prefab along path rickgplus 1 400 01-23-2025, 10:09 AM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 5 987 10-29-2024, 10:19 AM
Last Post: _Aka_

Forum Jump: