Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CurvySpline.Update() sorta expensive
#6
(04-27-2016, 07:38 PM)invadererik Wrote: I still think a No Update mode is a good idea, with it set to NoUpdate I get : 67 calls 0ms all the time, even when enabling or disabling any amount of sectors in my project.
That's a very bad idea. If you don't let the spline initialize after enabling, you can't use it, so why enable it at all then? On the other side, a spline costs almost nothing once enabled. Why not keeping all splines enabled and use other ways to track enabled/disabled state, e.g. a flag or a manager class?
Reply


Messages In This Thread
RE: CurvySpline.Update() sorta expensive - by Jake - 04-28-2016, 02:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I have a question about curvySpline haifeng.huang 12 32 07-14-2023, 09:34 AM
Last Post: _Aka_
  "Deadloop in CurvySPline.Refresh" spam Valkymaera 3 11 05-30-2023, 10:56 AM
Last Post: _Aka_
  Calling Update with defined deltatime Marco Schultz 3 8 01-25-2023, 01:58 PM
Last Post: _Aka_
  I want SetLocalPositions to update all CPs at once. yanke 3 7 05-30-2022, 02:50 PM
Last Post: _Aka_

Forum Jump: