Ghost
A floating sheet ghost about 1.3 m tall: a draped sheet with hollow eyes, little sleeve arms and a ragged hem, trailing a wispy tail. Flies low by distance: it bobs up and down, the hem flutters in a ripple round the edge and the tail waves behind it. The sheet glows softly at night.
- Size
- 1.3 × 1.2 × 2.2 m
- Triangles
- 1,288
- Kit
- Halloween
Tune it
5 knobs: Sheet, Face, Arms, Tail, Size.
Specs
- Size
- 1.3 × 1.2 × 2.2 m width × height × depth
- Triangles
- 1,288 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 1.8 m of travel per cycle
- Altitude
- 0.5 m above the ground
- Moving parts
- 17 body · slide, hem_0 · rotate, hem_1 · rotate, hem_2 · rotate, hem_3 · rotate, hem_4 · rotate, hem_5 · rotate, hem_6 · rotate, hem_7 · rotate, hem_8 · rotate, hem_9 · rotate, tail_0 · rotate, tail_1 · rotate, tail_2 · rotate, tail_3 · rotate, arm_L · rotate, arm_R · rotate
- Knobs
- 5 3 presets
- Night lights
- 1 glow
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/ghost.mjs';
const ghost = createAsset();
scene.add(ghost); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
ghost.position.set(0, groundY + ghost.userData.altitude, dist);
ghost.userData.tick(dist); // wings beat with the distance
renderer.render(scene, camera);
});import { useMemo, useRef } from 'react';
import { useFrame } from '@react-three/fiber';
import { createAsset } from 'https://gaitkit.com/cdn/ghost.mjs';
export function Ghost({ speed = 1 }) {
const model = useMemo(() => createAsset(), []);
const dist = useRef(0);
useFrame((_, dt) => {
dist.current += speed * dt;
model.position.set(0, groundY + model.userData.altitude, dist.current);
model.userData.tick(dist.current); // wings beat with the distance
});
return <primitive object={model} />;
}# Import ghost.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $Ghost/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 1.8 # one Loop = 1.8 m of travel// Import ghost.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 1.8 // one Loop = 1.8 m of travelUse the gaitkit MCP server: get_variant({ "id": "ghost", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
sheet | choice | white mint lavender ecto ash | white | Sheet colour (it glows this colour at night): white (classic), mint, lavender, ecto (slime green), ash (dusty grey). |
face | choice | spooky cute angry | spooky | Expression: spooky (tall hollow eyes and a howling O mouth), cute (round eyes, small smile and blush), angry (slanted eyes and a jagged grin). |
arms | toggle | on / off | true | Little sleeve arms held out in front, swaying as it floats. Off = a plain draped sheet. |
tail | range | 0 to 1.5, step 0.05 | 1 | Length of the wispy tail trailing behind. 0 = no tail, just the hem; 1.5 = a long comet tail. |
size | range | 0.3 to 3, step 0.05 | 1 | Uniform scale. 1 is about 1.3 m tall; 0.3 is a toy-sized wisp; 3 is a 4 m giant spectre. |
Presets: friendly ghost {"face":"cute","sheet":"white","size":0.6} · angry poltergeist {"face":"angry","sheet":"lavender","tail":1.5} · ecto spirit {"sheet":"ecto","face":"spooky","arms":false}
Files
| File | What |
|---|---|
| ghost.glb | GLB, default look · 163 KB |
| ghost.mjs | ES module, every knob live |
| ghost.obj | OBJ, static, no colour |
| ghost-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.