07-13-2019, 11:55 AM
Hi,
There are different ways to achieve that, depending on your setup. I think of two right now:
First method
There are different ways to achieve that, depending on your setup. I think of two right now:
First method
- Create a spline. See CurvySpline.Create()
- for each marker, add a Control Point (CP for short) to the spline. See CurvySpline.Add(...)
- Check if the markers moved. See Transform.hasChanged
- Each time a marker changes, updated the position of the corresponding CP. See CurvySplineSegment.SetPosition(...)
- Create a spline, and make it a parent of all the markers. See CurvySpline.Create()
- Add a CurvySplineSegmentcomponent to each marker
- Make the spline update itself from its hierarchy. See CurvySpline.SyncSplineFromHierarchy()
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Please consider leaving a review for Curvy, this helps immensely. Thank you.

