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
  Refresh spline doesn't seem to be working dazz777 6 399 01-22-2020, 12:55 AM
Last Post: _Aka_
Big Grin How to get a point in Spline that is parallel with another Spline? curvyuser007 5 92 01-20-2020, 10:18 PM
Last Post: curvyuser007
  Wheel Collider to propel along Spline Phunyun 3 443 01-18-2020, 09:40 PM
Last Post: _Aka_
  Multiple controllers on one spline breaks stuff Lupp_ 20 651 01-03-2020, 08:20 PM
Last Post: Lupp_

Forum Jump: