10-02-2023, 08:13 PM
(09-30-2023, 07:54 AM)Lupos Wrote: So while I love the curvy generator, I do think its a bit too heavy and complicated for what I ultimately wish to do.
I just want to align walls along the spline, and I was hoping you could guide me on a simple way to get started doing this manually.
This is because I want control of the pooling and type of objects and performance is key. I also just think it'd be simpler if I could write my own.
You can place objects without using Curvy Generators (CG for short). CG is a tool that makes object placement and other operations usable without coding, but nothing stops you from making your own code that will use Curvy Splines API to accomplish the same things as the CG, in your own way.
Placing objects is simple, just use CurvySpline.Interpolate, CurvySpline.GetTangent, and CurvySpline.GetOrientationFast to retrieve all the needed data from a spline, then use them to place a wall or any other object.
This explanation includes only placement. Mesh deformation or extrusion are another subject.
I hope this helped.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.