Camera 2D on Rails

Godot Version

4.2.1

Question

I am currently working on a 2D jump and run game and am having trouble using the 2D camera correctly. Can the camera be put on rails?

Yeah, you would need a path2d node, set how long and the shape of your path, add a pathfollow2d and make the camera2d node a child of the pathfollow2d. Set the pathfollow2d to where it doesn’t rotate with angles, and to make it move just set progress. Hope this is helpful

1 Like

Thanks! :slight_smile:
The nodes I don’t know yet.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.