Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to access existing spline from custom script
#3
The error in the first script makes me assume spline was null the time you access it in Start(). Also, if you inherit a class from SplineController you don't need a Start() and an additional spline variable. Use the Spline property instead and override some of the methods used by the controller to add your custom behaviour. See here for more details on extending.
Reply


Messages In This Thread
RE: Not able to access existing spline from custom script - by Jake - 12-04-2015, 07:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline Issue Leading to Unity Freeze Pankaj09 1 196 08-24-2026, 11:28 PM
Last Post: _Aka_
  Connecting Multiple Spline Nodes Issue Ritesh Kadam 1 154 08-22-2026, 11:24 PM
Last Post: _Aka_
  Spline Spots from 2 samples. BitBlit 8 1,078 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,446 04-12-2026, 03:18 PM
Last Post: _Aka_

Forum Jump: