<p><video width=500 controls src=/godot_recipes/4.x/img/3d_ship_05.webm></video></p><h3 id=full-script>Full script</h3><p>Here&rsquo;s the complete script:</p><div class=highlight><pre tabindex=0 style=color:#d8dee9;background-color:#2e3440;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-gdscript data-lang=gdscript><span style=display:flex><span><span style=color:#81a1c1;font-weight:700>extends</span> <span style=color:#8fbcbb>CharacterBody3D</span>
</span></span><span style=display:flex><span