[SOLVED] Moving a camera on a path

I want to be able to have the camera move around a Gsplat that is set in motion by clicking on a HTML interface menu.

I have looked at the camera on a path example Camera following a path | PlayCanvas Developer Site but it doesn’t work with the latest engine.

How can I script the camera movement along a curved path with nice smoth motion as in the camera path example using the latest engine?

Hi and welcome!

Change CURVE_CARDINAL to CURVE_LINEAR in camera-path.mjs

Fix version here:
https://launch.playcanvas.com/2281789?debug=true
https://playcanvas.com/editor/scene/2281789

1 Like

Fabulous, thank you.