Hi y'all.
Wrestling with tvpath.
Setup the path OK adding nodes (all at height of zero).
Want to use the Path.SetPathType(TV_PATH_SPLINE) version of it so init is as so.
Problem occurs when I use path.GetSplinePoint.
When I fetch out spline points between the 1st node and second node i.e :
"path.GetSplinePoint(0.1);
path.GetSplinePoint(0.25) etc.
"
And 2nd last node and last node ie.,
"path.GetSplinePoint((path.Path.GetNodeCount-1) + 0.1);"
"path.GetSplinePoint((path.Path.GetNodeCount-1) + 0.25);"
The spline points retunred are bend back on themsleves.
This only occurs onthe very first and very last nodes.
All the inbetween nodes are fine.
The nasty hack I've had to do is add the 1st node twice and the last node twice, then igorne the spline points between the 1st two nodes, and ignore the spline points between the last two nodes - POOR !
Attached is wot i'm talking about pre hack.
