08-10-2018, 02:53 AM
(08-09-2018, 11:42 AM)_Aka_ Wrote:(08-09-2018, 03:32 AM)mythstified Wrote: I've been fishing around the API and am utterly confused.Can you please explain to me what confuses you? Do you have any suggestions to make the API easier for you? I ask because I don't see the complexity in finding the method to add control points to a spline. Maybe I became blind to the issues you encountered, so your opinion will be helpful.
The method you are looking for is CurvySpline.Add
Thanks I'll check that out.
As for the API, I think one thing that would vastly improve it is examples. See Unity's API: https://docs.unity3d.com/ScriptReference/Transform.RotateAround.html
(08-09-2018, 03:32 AM)mythstified Wrote: if you have any other tips or things to keep in mind while doing such a task please let me know!For better performance, use the Add method override that takes the array of all positions at once, instead of calling the one that adds a single CP multiple times.
Interesting! Thanks. I'm debating whether to premap out all the directions or have it run realtime.. It would probably be more performant though to premap it at the start. Hmm