Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline Controller Flickering
#1
I have a Spline where the number of control points could change but the total length will always stay the same.

I'm using absolute positioning for the Spline Controllers, and storing their "Position" in another variable outside of the Spline Controller so when the number of control points changes, I can remap its position exactly where it was.

It seems that when I change the number of control points, Spline.Length takes a moment before the results are accurately reflected and there's a moment of artifacting where some of the Spline Controller Objects are disoriented and all over the spline. Seems to only happen for one frame and then everything goes back to normal.

I've tried changing the Update in to LateUpdate, as well as setting the CacheDensity to 0 and calling Spline.Refresh();

Any help greatly appreciated!
Reply


Messages In This Thread
Spline Controller Flickering - by blabz2007 - 08-27-2021, 11:38 PM
RE: Spline Controller Flickering - by _Aka_ - 08-28-2021, 08:55 AM
RE: Spline Controller Flickering - by blabz2007 - 08-31-2021, 12:15 AM
RE: Spline Controller Flickering - by blabz2007 - 08-31-2021, 07:31 PM
RE: Spline Controller Flickering - by _Aka_ - 08-31-2021, 08:56 PM
RE: Spline Controller Flickering - by blabz2007 - 09-02-2021, 11:03 PM
RE: Spline Controller Flickering - by _Aka_ - 09-03-2021, 09:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: