Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Playback spline path based on video time
#1
I have a video recording of a drive.  The spline was created using the GPS coords of the drive.  The time of the video can yield the world position of the vehicle.  I have attempted to use this to playback the drive along the curve.  This yields strange non-linear results as advancing the position through the curve is non-linear.  Some sections of the playback go much faster than others.

What is the best manner to simply get the position on the curve to set my camera for the current frame so that the playback matches velocity and position of the drive playing in the video?
Reply
#2
If you set TF of a spline, resulting position isn't equal with percentage (one exception: if all segments have the same length). To get the latter, set the distance.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Question regarding Spline Generated Path linkinballzpokemon 9 148 07-01-2020, 06:10 PM
Last Post: _Aka_
  Converting spline collider hit point to spline position jh092 7 111 06-26-2020, 09:48 PM
Last Post: _Aka_
  Null reference when spline controller added runtime jh092 1 77 06-19-2020, 09:21 AM
Last Post: _Aka_
  Rotation of Curvy Spline Segment jh092 1 116 05-31-2020, 09:36 AM
Last Post: _Aka_

Forum Jump: