05-10-2019, 12:28 PM
Hi,
Since this is for editor use, I will suggest you a solution that is not the most optimized, but the quickest to implement: use the Import/Export feature of Curvy
https://curvyeditor.com/documentation/import_export
Export your road spline, clear your player spline, then import the exported spline into the player spline. As most, if not all, UI operations, the equivalent tasks can be done though the API. Take a look at the FluffyUnderware.Curvy.ImportExport namespace as a starting point.
Since this is for editor use, I will suggest you a solution that is not the most optimized, but the quickest to implement: use the Import/Export feature of Curvy
https://curvyeditor.com/documentation/import_export
Export your road spline, clear your player spline, then import the exported spline into the player spline. As most, if not all, UI operations, the equivalent tasks can be done though the API. Take a look at the FluffyUnderware.Curvy.ImportExport namespace as a starting point.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.