Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamically Generated Spline Problems
#2
In your Start() method, wait until all relevant splines are fully initialized, see an example here. Calling Refresh() was the right idea (and it works during runtime), but it will fail at startup when child GameObjects (CP's!) arent completely processed by Unity, so you really need to yield until the spline has initialized.
Reply


Messages In This Thread
RE: Dynamically Generated Spline Problems - by Jake - 04-05-2017, 06:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 99 02-03-2025, 09:34 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 356 01-20-2025, 12:25 PM
Last Post: _Aka_
  Extrude mesh along spline. New and confused user GhostStalker 3 123 01-02-2025, 09:58 AM
Last Post: _Aka_
  Newly created spline is invisible quickytools 7 230 12-21-2024, 10:14 AM
Last Post: _Aka_

Forum Jump: