Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
set SplineController position from code
#3
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
Reply


Messages In This Thread
RE: set SplineController position from code - by edwon - 11-15-2015, 10:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Play() does not cause SplineController to produce expected behaviour ConCat 8 1,390 02-08-2026, 11:54 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,467 07-29-2025, 09:15 PM
Last Post: _Aka_
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 2,138 06-07-2025, 09:44 AM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 1,786 03-28-2024, 10:08 PM
Last Post: _Aka_

Forum Jump: