- #1

Hyprodimus

- 2

- 0

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 isn't perfect, so I am 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.