• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Getting the nearest point on a spline

F

float

Guest
Can someone explain to me how to get the nearest point to a spline from a reference point?
Other than iterating through the spline and comparing the the distance?
I used this: http://www.gmlscripts.com/script/spline


Thank you :)
(New user, cannot post links yet)
 
Top