Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
follow spline on instantiation
#3
You shouldn't call Refresh() directly after getting the reference. Instead, get the reference in Awake (or Start) and yield in Start() until CurvySpline.IsInitialized==true. Calling Refresh() isn't necessary then.
Reply


Messages In This Thread
follow spline on instantiation - by pez111 - 11-12-2017, 11:10 PM
RE: follow spline on instantiation - by pez111 - 11-13-2017, 07:34 PM
RE: follow spline on instantiation - by Jake - 11-15-2017, 06:42 PM
RE: follow spline on instantiation - by pez111 - 11-16-2017, 11:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to duplicate a spline with an offset Kapistijn 8 1,361 04-12-2026, 03:18 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 661 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,464 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 6,232 07-13-2025, 07:11 PM
Last Post: _Aka_

Forum Jump: