Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mapping of huge rail tracks(80miles)
#9
Hi,

The Prefab Pool need to be documented. Sorry for that. I am leaving for the airport in 10 mins, so here is a quick explanation:

If you keep the params by default, Curvy will handles things properly: create a cube when needed, and push it back in the pool for further usage when not needed anymore. The current number of available objects in the pool is shown here:

   

Open the attached scene, hit play, and what that counter: when you reduce the length of the spline, the number of used objects is reduced, and they go to the prefab pool, increasing the counter.

About the parameters of the pool:
  • Min Items is the minimal number of items in the prefab.
  • Speed: is used to defined a rate at which the prefab creates objects. Just give it a small number if needed.
Most of the time you will not need to set parameters to the pool. Curvy should handle things properly by itself. But if you need to, just tweak those parameters and keep an eye on the objects counter.

Sorry for the answer not as detailed as I would have liked.
Have a nice day


Attached Files
.zip   temp.zip (Size: 10.2 KB / Downloads: 3)
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
Mapping of huge rail tracks(80miles) - by hu_man - 05-22-2019, 09:15 AM
RE: Mapping of huge rail tracks(80miles) - by _Aka_ - 09-16-2019, 01:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  3D Platformer Rail Grind Asarge 1 6 07-19-2023, 09:12 AM
Last Post: _Aka_
  Distorted rail lines when copy-pasting generator KennUnity3D 2 10 10-10-2022, 06:55 PM
Last Post: KennUnity3D
  Is curvyspline a good solution for a 2D rail grinding game? bazz_boyy1 2 8 03-01-2022, 11:49 AM
Last Post: _Aka_
  Train tracks with transparent middle? jh092 4 2,250 07-03-2020, 07:13 PM
Last Post: _Aka_

Forum Jump: