Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calculate total time for spline to complete
#1
Hi, I need to determine the total time (across all segments from start to end) it will take to traverse a spline, from a SplineController. I know the speed, so unless there is another way I guess I need the total distance to calculate it myself with time = dist / speed ?
Reply
#2
Hi,
Yes, you will need to compute it. The total distance is either 1 if your controller has a Move Mode of "Relative", or CurvySpline.Length if your Move Mode is "Absolute"
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to calculate curvature of spline jh092 3 39 08-01-2020, 04:51 PM
Last Post: _Aka_
  Simple Spline Extrusion GelsonBieber 3 309 07-29-2020, 02:34 PM
Last Post: _Aka_
Shocked Spline always going up into the air? jamesunity 6 182 07-20-2020, 08:32 PM
Last Post: _Aka_
  Creating splines at run time jamesunity 6 198 07-17-2020, 10:17 PM
Last Post: jamesunity

Forum Jump: