Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disable the Update of the CurvySpline
#9
Hi,

Since the objects do not move, I suppose you either called controller.Stop() or set controller.Speed to 0. In both cases, there is no significant computations done, so the None option will not help much. But as always when asked about performance issues, you really should profile your game first, and check that the controller's updating code is really an issue, and only then try to optimize the controller's code.

If you have a lot of objects to place, you might want to use the Volume Spots CG module instead of controllers. Here is its documentation, and you can see examples of its usage in multiple example scenes, like 22_CGClonePrefabs.
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: Disable the Update of the CurvySpline - by _Aka_ - 05-29-2019, 01:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CG documentation update _Aka_ 0 267 06-19-2026, 11:13 PM
Last Post: _Aka_
  NullReferenceException when enable and disable curves with followups phaix 6 4,111 05-15-2025, 07:55 AM
Last Post: phaix
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 2,048 02-03-2025, 09:34 AM
Last Post: _Aka_
  Update and Black Friday sale _Aka_ 2 2,151 11-23-2024, 11:58 AM
Last Post: _Aka_

Forum Jump: