I have an odd problem:
segmentsize = length / numofsegments;
Debug.Log("Segmentsize: " + segmentsize);
offset = new Vector3(-segmentsize, 0f, 0f);
Debug.Log("Offset: " + offset);
The logs show that segmentsize is 0.03. But when I create the offset and log it, it shows it as (0.0, 0.0, 0.0). Im instantiating objects adding the offset each time. Is the log simply rounding my floats when it prints or is some rounding also happening in the background?