Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CurvySpline.Interpolate() returns (0,0,0) on first frame
#6
This:


Code:
IEnumerator Start()
{
  while (!mySpline.isInitialized)
     yield return 0;
}



Just wait until all Curvy stuff is initialized, then proceed with your other setup code. May be one frame, may be two for some reasons...
Reply


Messages In This Thread
RE: CurvySpline.Interpolate() returns (0,0,0) on first frame - by Jake - 05-09-2016, 02:03 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_
  CurvyGenerator not refreshing until next frame when created. Lupos 2 7 06-08-2023, 12:12 PM
Last Post: _Aka_
  "Deadloop in CurvySPline.Refresh" spam Valkymaera 3 11 05-30-2023, 10:56 AM
Last Post: _Aka_
  Optimum configuration for frame-by-frame updates FanManPro 5 11 04-10-2023, 10:13 PM
Last Post: _Aka_

Forum Jump: