03-04-2024, 11:06 AM
Hi
It is possible, either via API, or the generator:
- Via API: Go throuh all you control points and instantiate your object at each of their positions.
- Via Generator: Define the generation spots as being the control points of your spline
I hope this helped.
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
It is possible, either via API, or the generator:
- Via API: Go throuh all you control points and instantiate your object at each of their positions.
Code:
foreach (CurvySplineSegment cp in spline.ControlPointsList)
Instantiate(objectToInstantiate, cp.transform.position, spline.GetOrientationFast(cp.TF));I hope this helped.
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
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.

