Animating To a Path

hello all
I am referring to Implement model trajectory

My only known condition is the path coordinates of the model. In this example, the path motion cannot be realized by adding coordinates. also need to add track.push(new slide(xxx, xx)) , but I don’t know how to add it dynamically

Similarly, I only know the coordinates of the path, and I can’t get track Value of push track.push(new walk(xx, xx));

How do I realize the motion trajectory of the model when I only know the coordinates?

I optimized it again, but there was still a problem with the direction when I cycled the second motion path

I am not totally sure about what you are looking to do :frowning: could you describe the use case a bit more ?