You want a camera to follow a path through a level in your game.
Start by adding a Path3D node to your level, a PathFollow3D node as a child of the path, and a Camera3D node as a child of the PathFollow node. Select the Path node, then click on the Curve3D resource to expand it. Add points to the points array, and position them along the path you want the camera to follow. Adjust the in and out anchors to add weight to the points to make the path curve. Attach a script to the PathFollow node, which will create a tween, and use it to tween its progress ratio property from 0 to 1 over a duration of time measured in seconds.
Now the camera will fly through the level, giving the player a sense of scale, implying a first person perspective, or showing the player where they should go next.
Patreon: / tyanuziello
Discord: / discord
Udemy
https://www.udemy.com/course/build-a-...
https://www.udemy.com/course/godot-ma...
Skillshare
https://www.skillshare.com/en/r/profi...
Terrain3D tool and demo scene made by TokisanGames