Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mapping of huge rail tracks(80miles)
#8
I don't find a documentation of the Prefab Pool and don't understand it's settings. Can you please explain it to me?

I have tried editing the spline on runtime, but that only generates new GameObjects and don't delete/disable/reuse the old ones.
Do I have to edit the spline on runtime to use pooling? What am I missing?

What I try to accomplish is similar to the infinite track example, but instead of a mesh I like to enable/disable GameObjects. So when my train passes the track, the sleepers behind the train should be placed in front.
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 c.mader - 09-16-2019, 07:08 AM

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: