09-17-2019, 04:39 PM
I made this template to build rectangular mesh with corners based on the linear Curvy Spline:
The effect of the mesh spawning:
The problem was how to get Spline data directly from SplineInput. I couldn't find the reference through the InPath.
I did a hack and added serialized property to reference the same Spline again in my custom module.
With Spline ref I made CGPath by adding transform.localPosition and rotation from SplineSegments.
But maybe I could get a reference for Spline from InputSpline module directly?
The effect of the mesh spawning:
The problem was how to get Spline data directly from SplineInput. I couldn't find the reference through the InPath.
I did a hack and added serialized property to reference the same Spline again in my custom module.
With Spline ref I made CGPath by adding transform.localPosition and rotation from SplineSegments.
But maybe I could get a reference for Spline from InputSpline module directly?