03-20-2023, 08:53 AM
Hi
Sorry, but there is no API method to check if a point is inside a spline. The API gives access to the spline's parameters, so any detection algorithm can be implemented on splines from Curvy Splines. Also, in case you need this, CurvySpline.Bounds provides the bounding box of the spline, and CurvyUtility.SplineToMesh allows you to produce a mesh from a spline.
I hope this helped.
Have a nice day
Sorry, but there is no API method to check if a point is inside a spline. The API gives access to the spline's parameters, so any detection algorithm can be implemented on splines from Curvy Splines. Also, in case you need this, CurvySpline.Bounds provides the bounding box of the spline, and CurvyUtility.SplineToMesh allows you to produce a mesh from a spline.
I hope this helped.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.