Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import splines from GeoJson
#4
Hi

1- Indeed MetaCGOptions is not used by a line rendrer, but used by the Curvy Generator (CG for short), and specifically the shape extrusion module. More about this here
https://curvyeditor.com/documentation/generator/modules/shapeextrusion#materials
The material id can vary through the extruded shape, but does not vary along the extrusion's path. So this is not what you need*. What you need is to have multiple shape extrusions, each one with a different material on a different section of the path. For more details, see the Range property
https://curvyeditor.com/documentation/generator/modules/shapeextrusion#range

*You can se how material id is used in various example scenes. It is for example used to make the rail track have different materials, the metal one and the dirt one
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
Import splines from GeoJson - by Qpid36 - 11-19-2019, 09:40 PM
RE: Import splines from GeoJson - by _Aka_ - 11-20-2019, 01:20 PM
RE: Import splines from GeoJson - by Qpid36 - 11-20-2019, 09:44 PM
RE: Import splines from GeoJson - by _Aka_ - 11-22-2019, 03:39 PM
RE: Import splines from GeoJson - by _Aka_ - 11-22-2019, 03:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 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_
  Using Unity's SplineContainer in Curvy Splines dlees9191 3 15 02-26-2024, 09:49 AM
Last Post: _Aka_
  Distance travelled across multiple splines jh092 1 7 02-23-2024, 09:44 AM
Last Post: _Aka_

Forum Jump: