Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shared generator
#1
I don't know if there's something i missed, but it seems like you can't have a single generator applied to several splines.

Say I have a train track and I want a little part of it to animate. I'd split that from the static parts for performance reasons, but now I also have two generators; every time i need to change the way the track looks, i have to change both generators.

Is there any better way around this?
Reply
#2
CG modules use the spline(s) you've set the moment the CG refreshs. Best practise is to disable AutoRefresh and write a script that sets the spline references and then refreshes the CG, then (optionally) calls CreateMesh.SaveToScene() to "detach" the generated meshes.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom Spots Filter Generator Module mercior 3 8 03-10-2023, 10:20 AM
Last Post: _Aka_
Lightbulb In Game Roads - Curvy Generator Prefab? etoreo 3 10 01-05-2023, 09:16 AM
Last Post: _Aka_
  Distorted rail lines when copy-pasting generator KennUnity3D 2 5 10-10-2022, 06:55 PM
Last Post: KennUnity3D
  Multiple Mesh Extrude Generator bakin 1 10 09-17-2022, 12:40 PM
Last Post: _Aka_

Forum Jump: