Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best practice for multiple splines
#2
Hi,

When Auto Refresh is not set, the generator has a minor overhead because the Update function gets called anyways, but that function does vurtually nothing in this case. So it should not be an issue.

Having 5 extrusions in one Generator is slightly better than 1 extrusion per generator, but what makes generators slow lays elsewhere: it's the generation of the mesh data itself.

Read this page if not done already, it might help
https://curvyeditor.com/documentation/generator/optimizing_performace?s[]=performance

In general, I would advise you to profile the editor to see what takes time. See the Unity profiler documentation to learn more about this.

If after trying all of this you can't enhance the performance, you could send me your scene and I might figure out something that can be improved further

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.
Reply


Messages In This Thread
Best practice for multiple splines - by digot - 02-16-2020, 09:30 AM
RE: Best practice for multiple splines - by _Aka_ - 02-16-2020, 07:46 PM
RE: Best practice for multiple splines - by digot - 02-18-2020, 03:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 5 19 04-25-2024, 11:11 AM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  Using Unity's SplineContainer in Curvy Splines dlees9191 3 15 02-26-2024, 09:49 AM
Last Post: _Aka_

Forum Jump: