Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disable the Update of the CurvySpline
#5
Hi,
Updating the controller can be just an update of the position with simple maths, but the current implementation is not that simple to be able to handle triggering events and connections handling, both of which can change the direction, speed, etc... of a controller in the middle of the update.
But this does not mean that the current controller code can't be optimized while still handling connections and events. That's why I am curious about your use case. If you can send me either the profiling data completely expended, so I can so what happens after the ApplyDeltaTime call, or a scene with those performances, it would help optimize the slow parts.

For your custom solution, use InterpolateByDistanceFast instead of InterpolateFast (valid values between 0 and spline.Length)
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: Disable the Update of the CurvySpline - by _Aka_ - 05-21-2019, 03:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Disable rebuild of meshes in dynamic mode Zilk1 1 8 10-04-2023, 09:50 AM
Last Post: _Aka_
  Disable Generator Rasterized Objects SAMYTHEBIGJUICY 3 5 09-01-2023, 03:38 PM
Last Post: _Aka_
  I have a question about curvySpline haifeng.huang 12 32 07-14-2023, 09:34 AM
Last Post: _Aka_
  "Deadloop in CurvySPline.Refresh" spam Valkymaera 3 11 05-30-2023, 10:56 AM
Last Post: _Aka_

Forum Jump: