Studio Camera 🎥 on rail

Godot Version

4.6

Question

I wonder if there is some specific node to make orientation and position for camera based on predefined track which is updated when player move to newer or older chunk on map.

Make a Path3D. As a child of that add a PathFollow3D. The path follow node has a progress property that you use to manipulate how far it is along the path. Same with progress ratio except it goes from 0.0 for the start of the path to 1.0 to the end (which can be the same position as the start if it makes a circle). PathFollow3D moves along the Path3D curve and also respects its rotation. So now add your Camera as a child of the path follow node.

2 Likes