Make entity moving not straight

First of all,I am sorry about my English.
I have a set of coordinates, the coordinates make a curve path.Now I want a entity move along the curve path.
What should l do?

https://playcanvas.com/editor/scene/594585
This is the path,please help me,thank a lot.

https://playcanv.as/p/MCe8pfRN/

Or someone show me this project’s source code。:rofl:

Oh you mean pathfinding, look at this project https://playcanvas.com/project/333752/overview/last-line-of-defense

This tutorial sample is probably the closest to what you want out of all the samples. https://playcanvas.com/project/438429/overview/camera-following-a-path