There is a new tutorial video on how I did this - • 3D Player Flying/Jetpack - Unity Game Dev ...
The PlayerJetpackBar and Jetpack classes together form a control system for the Jetpack of a player in a game. The PlayerJetpackBar allows users to visually track the current amount of fuel available to them at any given point, updating the fill ratio in real-time as they progress through their game. The Jetpack class, on the other hand, provides the necessary logic to the player's movements and abilities; it allows for instant acceleration when used, and will also compensate for any downward velocity in the character's movement to help keep them airborne.
The refill rate for the jetpack's fuel also can be adjusted, along with the fuel consumption rate. By using these two classes in tandem, users can customize their jetpack experience to their needs and preferences.