11-22-2019, 03:39 PM
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
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.