The player will control a rocket, launching it from point A to point B and avoiding obstacles along the way.
Start a new Scene with a RigidBody3D as the root node.
Add a MeshInstance3D with a New CylinderMesh as the shape.
Now add a CollisionShape3D to enclose the Cylinder.
Click on Project -> Project Settings -> Input Map and configure custom input as shown
Export two variables to control the thrust and rotation.
Note how we can limit the range of values for the thrust.
In the process function we can respond to each key press appropriately.
Note that basis is a built-in variable representing the co-ordinates of the object in local space.
With controls in place we can move on to creating a level to test the Rocket in.