09-24-2019, 04:55 PM
(09-24-2019, 04:06 PM)_Aka_ Wrote: Hi
1- Some CG modules qccept multiple inputes, some don't. Those who do have an array symbol near their input's name. When a module accepts multiple inputs, it is faster to use one for all inputs rather than one per input. When you can't use a module for multiple inputs, the solution would be to use the API to create as many as necessary on the fly.
1-b Templates manipulation is not available through the public API. Its code is in the editor part1 of Curvy, so not available at runtime.
2- I honestly don't know, and I can't test this for now (I am on vacation abrod, with no PC). If it does create an issue, dereference the spline from the generator.
3- CurvyGenerator.OnRefresh
4- At least it will potentially make physix compute things faster. If I were you, I would make it static even if generated at runtime. More about this here https://docs.unity3d.com/Manual/StaticObjects.html
Have a nice day
Thank you for the fast repy!
Have a nice vacation :-)