Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline.length incorrect
#2
When a spline is modified, a call to Refresh is needed to update some of its data. This call is done automatically every frame, and in some API methods. Under some circumstances, one might call the Length property while the spline is not refreshed.
Try calling spline.Refresh before doing the log. If the problem persists, please send me a reproduction case (the code doing the cp adding and logging)
I hope this helped
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
Spline.length incorrect - by dazz777 - 10-06-2021, 10:33 AM
RE: Spline.length incorrect - by _Aka_ - 10-06-2021, 05:38 PM
RE: Spline.length incorrect - by dazz777 - 10-07-2021, 10:18 AM
RE: Spline.length incorrect - by _Aka_ - 10-07-2021, 10:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to duplicate a spline with an offset Kapistijn 8 1,367 04-12-2026, 03:18 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 661 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,464 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 6,237 07-13-2025, 07:11 PM
Last Post: _Aka_

Forum Jump: