Sailboat
A 9 m cruising sloop with a bevelled fin keel and bulb, a cabin with framed portlights, a sprayhood and teak grab rails, a 12 m tapered mast with spreaders, a battened mainsail on a swinging boom and a jib, winches on the coamings, cleats, a bow roller with an anchor, lifelines on stanchions with pulpit and pushpit, and a teak cockpit with a tiller. Sails can be set or furled. It sits on the water surface (keel bottom at y = 0, waterline about 1.75 m up) and rolls and pitches gently as it sails; portlights and nav lights glow at night.
- Size
- 3.1 × 15.3 × 9.3 m
- Triangles
- 3,439
Tune it
4 knobs: Hull, Sail colour, Sails, Length.
Specs
- Size
- 3.1 × 15.3 × 9.3 m width × height × depth
- Triangles
- 3,439 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 6 m of travel per cycle
- Altitude
- 0 m below the surface
- Moving parts
- 3 boat · rotate, pitch · rotate, boom · rotate
- Knobs
- 4 3 presets
- Night lights
- 2 window, nav
Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic.
Use it
Code for the specimen as it is set up above; it follows your knobs.
import { createAsset } from 'https://gaitkit.com/cdn/sailboat.mjs';
const sailboat = createAsset();
scene.add(sailboat); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
sailboat.position.set(0, groundY + sailboat.userData.altitude, dist);
sailboat.userData.tick(dist); // the body waves with the distance
renderer.render(scene, camera);
});import { useGLTF, useAnimations } from '@react-three/drei';
import { useEffect } from 'react';
// sailboat.glb from the Download button (it carries the knobs you set), saved in /public
export function Sailboat({ speed = 1 }) {
const { scene, animations } = useGLTF('/sailboat.glb');
const { actions } = useAnimations(animations, scene);
useEffect(() => {
const clip = actions['Loop'];
clip?.play();
if (clip) clip.timeScale = speed / 6; // one Loop = 6 m of travel
}, [actions, speed]);
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy sailboat.mjs and runtime/ into your project and use the three.js tab.# Import sailboat.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $Sailboat/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 6 # one Loop = 6 m of travel// Import sailboat.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 6 // one Loop = 6 m of travelUse the gaitkit MCP server: get_variant({ "id": "sailboat", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
hull | choice | white navy green red | white | Hull colour: white (blue boot stripe, red antifouling), navy, green or red (cream boot stripe). The deck stays light grey with teak trim. |
sailColor | choice | white cream tan grey | white | Sailcloth: white (modern), cream, tan (traditional tanbark red-brown) or grey. |
sails | choice | set furled | set | set: mainsail and jib up and drawing. furled: mainsail flaked under a blue cover on the boom and the jib rolled on the forestay, as when moored or motoring. |
length | range | 6 to 14, step 0.5 | 9 | Length overall in metres; everything scales with it. 6 is a small day-sailer, 9 a family cruiser, 14 a big ocean yacht with a 19 m mast. |
Presets: classic tanbark {"hull":"green","sailColor":"tan","length":11} · moored {"sails":"furled","hull":"navy"} · day sailer {"hull":"red","length":6.5}
Files
| File | What |
|---|---|
| sailboat.glb Pro | GLB, default look · 385 KB |
| sailboat.mjs Pro | ES module, every knob live |
| sailboat.obj Pro | OBJ, static; colours in the .mtl |
| sailboat.mtl | OBJ colours; keep it next to the .obj |
| sailboat-params.json | knob schema, presets, night zones |
Licence
Use it in games, apps, renders and client work, commercially and without credit. Do not resell it as an asset or train a 3D generator on it. The full licence.