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
  Path not as smooth as spline jawadkhan.9026 3 49 06-12-2019, 11:19 AM
Last Post: _Aka_
  Orient Spline to Object DanMarionette 1 24 06-11-2019, 05:56 PM
Last Post: _Aka_
  make a spline branch smoothly off another spline dazz777 3 81 06-06-2019, 08:16 PM
Last Post: _Aka_
Photo How can i assign spline at runtime lololToday 1 53 06-05-2019, 01:02 PM
Last Post: _Aka_

Forum Jump: