Dist Calc

About

Dist Calc is a Visual Basic Script that was created to calculate the distance between center-points of known objects on a spline. The script alleviated some of the workload on a game protype that required precise measurements.

The Dist Calc script requires three inputs in order to calculate the distance between center-points of objects on a spline: L for the total length of the spline, N for the number of objects placed on the spline and T for the thickness of the objects. (L - N * T) / (N - 1) = distance between center-points.