Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I have a few dozen nodes spaced in a helix shape and an object trying its best to follow the path of the nodes. The nodes are like pylons/cones on the road, and the object is the car trying to navigate and follow them. The helix isnt perfect, so Im thinking to use a spline curve to fit the nodes. I need help determining the distance of the object to the curve. I have the XYZ co-ordinates of all nodes and the object at all times.

How do you suggest I fit the nodes and then how would I find the closest distance to the curve?

All help is appreciated. Thank you.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Distance between point and 3D spline

Can you offer guidance or do you also need help?

**Physics Forums | Science Articles, Homework Help, Discussion**