11-15-2015, 10:03 PM
I finally fixed it, I found that I had to adjust the animation settings to:
splineController.MoveMode = CurvyController.MoveModeEnum.Relative;
splineController.Speed = .1f;
splineController.Clamping = CurvyClamping.Clamp;
splineController.PlayAutomatically = true;
splineController.AdaptOnChange = true;
splineController.Animate = false;
It's a little unintuitive that I had to set the animation settings like that. The connection to setting the position in script is not clear. I would prefer a toggle like "SetPositionFromScript" or something like that
splineController.MoveMode = CurvyController.MoveModeEnum.Relative;
splineController.Speed = .1f;
splineController.Clamping = CurvyClamping.Clamp;
splineController.PlayAutomatically = true;
splineController.AdaptOnChange = true;
splineController.Animate = false;
It's a little unintuitive that I had to set the animation settings like that. The connection to setting the position in script is not clear. I would prefer a toggle like "SetPositionFromScript" or something like that