Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with prefabbed splines
#1
Hello, I just acquired Curvy Splines 8 and I have a question about Curvy Splines and Prefabs. So far I've been experiencing quite a few challenges/issues in Unity 2021.3.18.

Context: In the game, I want to load a Prefab with a network of rails (several Curvy Splines). When starting a playthough, the game picks one network of rails Prefab out of a collection, and instantiates it.

Challenges: 
1. Strange behaviours happen when editing the Prefab with Unity Editor's Prefab editor (not in an Scene). Some memory leaks seem to happen as memory allocation logs and errors keep on stacking in the Console Log. The Unity Editor must be restarted to fix this.
2. Ideally, I would prefer for the level designer to have one Scene where he can edit all rail networks (instead of having to create separate Scene for each). However, I think the dependency on CurvyGlobal's caching does not allow for this.
3. Each network of rails will have different curves but should share the same Curvy Generator. Is there a best approach for this?

With this, is there an advice on how to best approach these challenges? How can I best instantiate sets of Curvy Splines in runtime?
Reply


Messages In This Thread
Help with prefabbed splines - by henriqueranj - 02-08-2023, 11:18 AM
RE: Help with prefabbed splines - by _Aka_ - 02-08-2023, 03:50 PM
RE: Help with prefabbed splines - by henriqueranj - 02-09-2023, 10:31 AM
RE: Help with prefabbed splines - by _Aka_ - 02-09-2023, 03:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  Using Unity's SplineContainer in Curvy Splines dlees9191 3 15 02-26-2024, 09:49 AM
Last Post: _Aka_
  Distance travelled across multiple splines jh092 1 7 02-23-2024, 09:44 AM
Last Post: _Aka_

Forum Jump: