*Could you explain the reasoning behind that inner material loop in the CS?
I download existing materials from the mesh and create a material instance that replaces the material with one that has a fadeout.
- did you mean to include this part in the abovementioned loop:
Thanks to this part of the code, I create another mesh that connects to the previous one.
My plan for this spline was to create a flexible wall that would fade out piece by piece rather than all of it. I want a section of the wall to fade out where the character is. Of course, I can achieve this by entering the entire wall manually, but I wanted a more flexible solution.