Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disable the Update of the CurvySpline
#3
Photo 
[Image: IEuqaNYBpIe_Update.PNG]
[Image: IEuqnBGekWe_CurvyController.PNG]

Here SplineController Update take 0.53ms, wich is enormous for only one call.

There are a LOT of if(), switch statement every frame in the function InitializedApplyDeltaTime, ComputeTargetPositionAndRotation for exemple
A Simple InterpolateFast(percent + speed) wouldn't be more efficient ?
An optimise SplineController from a static spline should just pick a value in an array of precalculated point. (2 value, an Vector3 and a Quaternion) I don't know if it's the case, and how to have a faster SplineController.
Reply


Messages In This Thread
RE: Disable the Update of the CurvySpline - by UsernameHed - 05-20-2019, 04:01 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: