06-21-2019, 12:12 PM
Hello,
I am really enjoying this tool.
Sorry for the question, perhaps there is something I am missing in the logic of how splines work.
What I am trying to do is place a debug gizmo along the spline at a normalised value.
Something like;
Where distance is a value between 0,1.
Regards,
Ian
I am really enjoying this tool.
Sorry for the question, perhaps there is something I am missing in the logic of how splines work.
What I am trying to do is place a debug gizmo along the spline at a normalised value.
Something like;
Code:
Gizmos.DrawSphere( thisSpline.InterpolateByDistance(speedTriggers[i].distance), 1);
Where distance is a value between 0,1.
Regards,
Ian