Keys and Coins
A small loot pile about 40 cm across on the floor: a drawstring coin pouch spilling coins, stacks of coins, an iron ring of ornate skeleton keys and a few cut gems. Every part can be switched off or counted; the gems sparkle (glow) at night.
- Size
- 0.54 × 0.19 × 0.39 m
- Triangles
- 1,094
Tune it
6 knobs: Coins, Coin stacks, Pouch, Keys, Gems, Seed.
Specs
- Size
- 0.54 × 0.19 × 0.39 m width × height × depth
- Triangles
- 1,094 of 6,000
- Draw calls
- 1 one vertex-colour material
- Knobs
- 6 3 presets
- Night lights
- 1 gem
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/keys-and-coins.mjs';
const keysAndCoins = createAsset();
scene.add(keysAndCoins); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/keys-and-coins.mjs';
export function KeysAndCoins() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import keys-and-coins.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://keys-and-coins.glb").instantiate())// Import keys-and-coins.glb with glTFast (com.unity.cloud.gltfast).
// Drop it in the scene: 1 unit = 1 metre, +Z is its front.Use the gaitkit MCP server: get_variant({ "id": "keys-and-coins", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
coins | choice | gold silver copper | gold | Coin metal: gold, silver or copper. |
stacks | range | 0 to 6, step 1 | 3 | How many stacks of coins stand in front, 0 to 6. |
pouch | toggle | on / off | true | A leather drawstring coin pouch, open with coins spilling out in front of it. |
keys | range | 0 to 5, step 1 | 3 | How many skeleton keys hang on the iron key ring, 0 (no ring) to 5. |
gems | range | 0 to 6, step 1 | 4 | How many cut gems (ruby, sapphire, emerald, amethyst, topaz, aquamarine) lie around, 0 to 6. |
seed | range | 1 to 30, step 1 | 3 | Reshuffles stack heights, spilled coins, key shapes and gem colours. |
Presets: jailer key ring {"keys":5,"stacks":0,"pouch":false,"gems":0} · pirate hoard {"coins":"gold","stacks":6,"gems":6,"keys":1,"seed":9} · silver purse {"coins":"silver","stacks":2,"gems":1,"keys":0}
Files
| File | What |
|---|---|
| keys-and-coins.glb | GLB, default look · 144 KB |
| keys-and-coins.mjs | ES module, every knob live |
| keys-and-coins.obj | OBJ, static, no colour |
| keys-and-coins-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.