Thanks I changed to a relative position and went from there, works nicely however in the end I had to make it a coroutine and do a while loop to make it / force it to go to the place I wanted, seems sometimes spline controllers go to 0... took about 5~10 frames before it went to the correct position. heres the code:
Code:
IEnumerator PlaceOnOpenTrack()
{
mySC.Spline = myPath;
float desiredPos = path1.Length + (path2.Length * 0.5f);
mySC.Position = desiredPos;
if (mySC.Position == 0)
{
while( mySC.Position == 0 )
{
// Debug.Log(mySC.Position);
mySC.Position = desiredPos;
yield return null;
}
}
}