Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Activate Curvy Generator After Scene Load
I'm using Curvy generators for a project to simulate wires during a virtual assembly of a robot. It works great during the initial assembly scene, but I have an issue where the generator stops updating for a time after switching scenes (the robot including the wires use Object.DontDestroyOnLoad to carry over between scenes). In my project the user can switch scenes to test their assembled robot in a trial scenario and then switch back to the assembly scene to make adjustments. When they return to the assembly scene, they should be able to click and drag the connectors to re-connect the wires differently, but currently the Curvy Generators are all stuck after re-loading the scene and I can't figure out how to get them to start updating again. They do seem to start working again on their own sometimes, but it usually takes several minutes. Is there something I need to do to re-initialize or otherwise force the generators to start updating again after the scene loads?

Messages In This Thread
Activate Curvy Generator After Scene Load - by jdkirk1 - 04-29-2021, 03:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Manipulate Generator properties in c#? blabz2007 9 129 06-18-2021, 09:17 AM
Last Post: _Aka_
  Accessing generator's input spline in script, changing it at runtime smackledorf 3 92 06-17-2021, 01:59 PM
Last Post: _Aka_
  Questions about Generator: mesh/objects within spline, snap to control point dartboard 5 189 06-09-2021, 12:42 PM
Last Post: _Aka_
  Spot Generator resetting some values after Script compilation Mos Def 11 610 05-25-2021, 02:41 PM
Last Post: _Aka_

Forum Jump: