Original Post
I am trying to get a camera to travel along a spline while keeping a moving target a distance away from the camera. The target is a 100m sprinter and is running in a straight line along a track(lets say the track runs from 1 to 100 on the x axis). The camera spline runs along the left side of the track for about 50 metres then loops/bends over the track and runs along the right side for the remaining distance. I find an ideal camera position by finding a point along the x axis that is 30 degrees to the left of the sprinter's current position, then try to speed up or slow down along the spline towards that point(so the x value of the camera position equals the x value of the ideal camera position, z values will be different) Problem is with the loop\bend, the sprinter catches up and passes the camera, also the camera makes big jumps along the spline during the bend so the movement is not as smooth as on the straights. I think it is because the spline is running more along the z and y axes during the bend. Another problem is i can only move faster or slower(or stop) along the spline, i can't move to a specific x,y,z on the spline(because of the function i am using) Anyone know a way round this or a suggestion?