06-14-2016, 02:59 PM
Thanks for the fast response
mySplineController.Reset() is protected.
Something to note is I am dynamically changing the location of the ControlPoints of the Spline used by the SplineController. So its possible that is part of the cause of the index out of bounds, I suspect the spline is getting shorter and that isnt handled by that code.
Is there something that should be called when the spline is changed?
mySplineController.Reset() is protected.
Something to note is I am dynamically changing the location of the ControlPoints of the Spline used by the SplineController. So its possible that is part of the cause of the index out of bounds, I suspect the spline is getting shorter and that isnt handled by that code.
Is there something that should be called when the spline is changed?
(06-14-2016, 02:13 PM)Jake Wrote: Either use
mySplineController.Reset()
or
mySplineController.Position=mySplineController.InitialPosition
Both should work. I'm looking into the exception, that shouldn't happen. Anyways, ResetOnStop only has an effect if you use the Animate feature.