08-17-2020, 07:43 AM
Sorry, one more thing. I thought I had it working but not quite. How do I know which way a spline is facing? I need to know whether to flip a spline or not, I had this code but turns out it's not right:
thanks
John
Code:
bool IsSplineForwards(CurvySpline spline)
{
return spline.GetTangent(0.5f).z > 0;
}
thanks
John