Unfortuantely there are no tutorials around that shows how to do this, but there are several ways depending on the template that you use -> then I can give you a detailed explanation
When you just want to have a flying camera, you just have to set the gamemode to “GameMode”