Hi
Glad to hear that you are loving the asset
1- You can do that using the Spline To Mesh tool in the toolbar: https://curvyeditor.com/documentation/toolbar/start#tools
2- I guess there are different ways to determine if a point is inside a spline, which you will probably find on the internet, but one (maybe not efficient) that I thought about is to compute the cross product of the following vectors:
Vector A: the delta between a point and its nearest point on the spline (using yourSpline.GetNearestPointTF)
Vector B: the tangent of the spline at that point (using yourSpline.GetTangent)
The cross product's direction should tell you if a point is inside the closed spline or not.
3- Using yourSpline.Connections, you can get a list of the connections on your spline. Use their transforms to place your object.
Let me know if I missed something
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
Glad to hear that you are loving the asset
1- You can do that using the Spline To Mesh tool in the toolbar: https://curvyeditor.com/documentation/toolbar/start#tools
2- I guess there are different ways to determine if a point is inside a spline, which you will probably find on the internet, but one (maybe not efficient) that I thought about is to compute the cross product of the following vectors:
Vector A: the delta between a point and its nearest point on the spline (using yourSpline.GetNearestPointTF)
Vector B: the tangent of the spline at that point (using yourSpline.GetTangent)
The cross product's direction should tell you if a point is inside the closed spline or not.
3- Using yourSpline.Connections, you can get a list of the connections on your spline. Use their transforms to place your object.
Let me know if I missed something
If and when you feel like it, please leave a review for the asset, that helps a lot.
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.