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 Splines, this helps immensely. Thank you.
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
  CG documentation update _Aka_ 0 267 06-19-2026, 11:13 PM
Last Post: _Aka_
  NullReferenceException when enable and disable curves with followups phaix 6 4,111 05-15-2025, 07:55 AM
Last Post: phaix
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 2,048 02-03-2025, 09:34 AM
Last Post: _Aka_
  Update and Black Friday sale _Aka_ 2 2,151 11-23-2024, 11:58 AM
Last Post: _Aka_

Forum Jump: