Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Fixed]CurvySpline.Length can return 0 during init stage
#2
Hi,
Length's value is computed based on the positions of the control points. This computation is done via the Refresh method, which is public. This is done automatically at initialization, and each frame when needed. Sometimes, when using the API, one can modify something that would need a manual Refesh call if one does not want to wait for the automatic call next frame.
Can you please tell when you create the spline and when you call the Length property. If you can provide me code it would be even better.
Also, can you confirm to me that calling Refresh fixes the issue?
Have a nice day
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: CurvySpline.Length can return 0 during init stage - by _Aka_ - 01-15-2020, 10:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Destroying curvyspline instances jmh1804 5 3,361 09-18-2024, 07:52 AM
Last Post: _Aka_
  CurvySpline Optimize Candy 1 1,636 08-02-2024, 08:35 AM
Last Post: _Aka_
  How to get length starting from one spline to connected nth spline Dragon-3623 1 1,562 05-14-2024, 04:52 PM
Last Post: _Aka_
  Keeping a fixed spline length jh092 3 2,691 02-21-2024, 06:25 AM
Last Post: Primrose44

Forum Jump: