Thanks! I think I got it to work now. For C++ users it goes something like:
FVector startTan =
spline->GetTangentAtDistanceAlongSpline(startDist,ESplineCoordinateSpace::Local);
FVector endTan =
spline->GetTangentAtDistanceAlongSpline(endDist,ESplineCoordinateSpace::Local);if (startTan.Size() >= pieceLength) {
startTan.Normalize(); startTan *=
pieceLength; }if (endTan.Size() >= pieceLength) {
endTan.Normalize(); endTan
*=pieceLength; }