Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamic CurvySpline and memory allocation
#6
Thanks, I'll profile it and if this still is an issue in 5.0 I'll add a pooling solution.

If you add several points in a row, use CurvySpline.Add(CurvySplineSegment,false) like you suggested, then refresh the spline manually once (or add the last CP with refresh=true).
Reply


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
  Destroying curvyspline instances jmh1804 5 2,837 09-18-2024, 07:52 AM
Last Post: _Aka_
  Scene 51: Dynamic track between two points wallflower6 3 2,353 08-19-2024, 08:18 AM
Last Post: _Aka_
  CurvySpline Optimize Candy 1 1,394 08-02-2024, 08:35 AM
Last Post: _Aka_
  Disable rebuild of meshes in dynamic mode Zilk1 3 2,146 05-27-2024, 08:14 AM
Last Post: _Aka_

Forum Jump: