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
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 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_

Forum Jump: