How can I reset the SplineInterpolator script from the wiki?

Hi all,

I’m trying to use the Spline Interpolator script found on the Unity community wiki to make some “hoverboard” style transporters. The transport part works fine, but I want to be able to “Reset” them at their origin so they can be used again.

I’m currently having them run in ONCE mode. When they reach their destination, they signal a spawn point to generate a new transport which gets all new SplineControllers and has the Parent set to the proper parent.

When I try to use the new transport, everything works up to the point where it should actually start moving. I’m not sure what part of the equation isn’t getting reset to allow the path to be run again.

Is anyone familiar with this script able to help? Thanks!

Try setting the “Wrap Mode” options to “Loop”.