Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Activate Curvy Generator After Scene Load
#3
(04-30-2021, 08:18 AM)_Aka_ Wrote: Hi
I was never confronted to you use case, so if you can send me a simplified reproduction case, that would help me investigate the issue.
Until then, the only things that I can say are probably not that helpful:
  • Check the CurvyGenerator.IsInitialized property
  • Check the CurvySpline.IsInitialized property
  • Manually call the CurvyGenerator and CurvySpline Refresh method
  • Make sure the CurvyGenerator's AutoRefresh and RefreshDelay have valid values.
  • Try to wait for a couple of frames after the scene switching before doing the things above.
I hope this helped

Unfortunately manually refreshing the generator and splines doesn't seem to make much difference, even if I delay a second or two after the scene load. The generator and splines all report that they are initialized and the AutoRefresh and RefreshDelay values seem valid immediately after the scene load. I created a simple project to demonstrate the issue, which I will send you a link to in a private message. In this simpler scene, the generator starts working again somewhere between 5 and 30 seconds after a scene change. In my actual project the delay is sometimes a couple minutes.

Update: I found that calling CurvyGenerator's Refresh every frame does work as desired, so I guess in my case it's just the AutoRefresh that isn't working correctly immediately after the scene load. As long as there's not too much of a performance penalty this should be a reasonable workaround for me.

Thanks
Reply


Messages In This Thread
RE: Activate Curvy Generator After Scene Load - by jdkirk1 - 05-03-2021, 07:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 10 04-03-2024, 03:16 PM
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_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 4 03-27-2024, 07:25 AM
Last Post: amutp

Forum Jump: