06-15-2021, 09:34 PM
Hi
You have to activate the Materials option in the Shape Extrusion module so that they are taken into consideration.
Since you were not aware of this, I am wondering if you did assign Material Ids in the shape used for extrusion.
Let me summerize to you what you need to do:
1- You add instances of type Meta CG Options to the control points of the spline used as a cross section for your extrusion . More about that here: https://curvyeditor.com/documentation/splines/curvysplinesegment#meta_cg_options
2- You activate the Materials option in the Shape Extrusion module
3- You associate each used Material Id with a material in the Volume Mesh module.
Did you manage to make it work?
You can find in the example scenes cases of mesh extrusions using multiple materials. One example is the 26_CGExtrusionExtendedUV.unity scene. Also the rails in all train scenes use two materials
You do that by setting the material Ids at the Control Point level using the Meta CG Options script.
You have to activate the Materials option in the Shape Extrusion module so that they are taken into consideration.
Since you were not aware of this, I am wondering if you did assign Material Ids in the shape used for extrusion.
Let me summerize to you what you need to do:
1- You add instances of type Meta CG Options to the control points of the spline used as a cross section for your extrusion . More about that here: https://curvyeditor.com/documentation/splines/curvysplinesegment#meta_cg_options
2- You activate the Materials option in the Shape Extrusion module
3- You associate each used Material Id with a material in the Volume Mesh module.
Did you manage to make it work?
You can find in the example scenes cases of mesh extrusions using multiple materials. One example is the 26_CGExtrusionExtendedUV.unity scene. Also the rails in all train scenes use two materials
You do that by setting the material Ids at the Control Point level using the Meta CG Options script.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.