Moving camera along the road in 3d model

Hello,

I have a 3d model of a park

I want to move the camera along the road. I can split only the road from the 3d model using scene.children array but I have no idea about how to move the camera along this road please check link below you can get idea from it

https://www.robinpayot.com

I hope you can help me :blush:

Have a nice day !

three.js examples (threejs.org)

Looking at the render code for this example, the camera is moved along a series of positions extracted from the points along the track. Perhaps you could adapt this for your needs.

Thank you very much :blush:

I will test this