Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CurvySpline Class Update() etc..
#3
The SplineClass is used for each Spline.

In PlayMode=true and Build doUpdate(); is called every frame for each Spline!
At last in Update().

I automatically lay spline in same quantity as my last Addon. About 1500 Splines.
Update( DoUppate() ), LateUpdate() and FixedUpdate(50 times per frame ) is now called ~7500 times per frame.

The corious thing is:
DoUpdate() calls Refresh() and Refresh() itself calls if (mDirtyCurve) permanetely. No matter of mDirtyCurve = false; before return;
All the cache points will be updated, CP's will be sorted, etc.... in every frame for each spline permanetely :-)

For my self, my spline structure is fixed in build. And I need only the SplineControllers to run.
Does it happen because of the Dev version 2.0.5 you testing some stuff?
(Henry Ford) Each hour more of searching is each hour less of your live time.

Reply


Messages In This Thread
CurvySpline Class Update() etc.. - by Trainzland - 02-17-2016, 04:55 PM
RE: CurvySpline Class Update() etc.. - by Jake - 02-19-2016, 06:46 PM
RE: CurvySpline Class Update() etc.. - by Trainzland - 02-20-2016, 03:06 AM
RE: CurvySpline Class Update() etc.. - by Jake - 02-23-2016, 07:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Update and Black Friday sale _Aka_ 2 1,812 11-23-2024, 11:58 AM
Last Post: _Aka_
  Destroying curvyspline instances jmh1804 5 3,006 09-18-2024, 07:52 AM
Last Post: _Aka_
  CurvySpline Optimize Candy 1 1,450 08-02-2024, 08:35 AM
Last Post: _Aka_
  I have a question about curvySpline haifeng.huang 12 7,022 07-14-2023, 09:34 AM
Last Post: _Aka_

Forum Jump: