Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Fixed]CurvySpline.Length can return 0 during init stage
#3
Hello,
Calling CurvySpline.Refresh before CurvySpline.Length fixed it. Thanks.

Here is more info in case still needed.
The spline was inside prefab referenced by scene pool, during one function:
- instance got created by pool, taken from it
- CurvySpline.Length was used to put objects evenly along the spline
Reply


Messages In This Thread
RE: CurvySpline.Length can return 0 during init stage - by c0ffee - 01-16-2020, 01:56 AM

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: