Ok, I think I figured a few things out after spending bit more time with the API docs. "From" is essentially from where "Range" is derived.
This code does mostly what I want:
newPosition = splineControlled.GetComponent<SplineController> ().RelativePosition;
GetComponent<FluffyUnderware.Curvy.Generator.Modules.BuildShapeExtrusion> ().From = newPosition;
I'm trying to create a "reverse trail renderer" where the trail draws ahead of the spline controlled object. I was hoping to just connect the position of the spline controlled object to the From attribute, but the above code doesn't keep the generated mesh in sync with the spline controlled object; they meet-up about every third or fourth CP, but then the generated mesh races ahead.
I'm guessing this is an interpolation issue?
This code does mostly what I want:
newPosition = splineControlled.GetComponent<SplineController> ().RelativePosition;
GetComponent<FluffyUnderware.Curvy.Generator.Modules.BuildShapeExtrusion> ().From = newPosition;
I'm trying to create a "reverse trail renderer" where the trail draws ahead of the spline controlled object. I was hoping to just connect the position of the spline controlled object to the From attribute, but the above code doesn't keep the generated mesh in sync with the spline controlled object; they meet-up about every third or fourth CP, but then the generated mesh races ahead.
I'm guessing this is an interpolation issue?