School Lockers
A row of 30 cm wide, 45 cm deep steel lockers, 1.8 m tall on a dark plinth, full-height or two-tier, each with a vented door that swings open on its left hinge (rigged) onto a hook, a shelf and seeded contents: backpacks, jackets, books, a ball. Optional changing-room bench in front. Doors face +Z.
- Size
- 1.8 × 1.9 × 0.48 m
- Triangles
- 1,276
Tune it
5 knobs: Lockers, Tiers, Colour, Bench, Seed.
Specs
- Size
- 1.8 × 1.9 × 0.48 m width × height × depth
- Triangles
- 1,276 of 6,000
- Draw calls
- 1 one vertex-colour material
- Moving parts
- 6 door_0 · rotate, door_1 · rotate, door_2 · rotate, door_3 · rotate, door_4 · rotate, door_5 · rotate
- Knobs
- 5 3 presets
- Night lights
- 0 none
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/school-lockers.mjs';
const schoolLockers = createAsset();
scene.add(schoolLockers); // rests on y = 0, front faces +Z
// 'door_0' pivots on its hinge: -110° to 0° around y
schoolLockers.getObjectByName('door_0').rotation.y = THREE.MathUtils.degToRad(-110);import { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/school-lockers.mjs';
export function SchoolLockers() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import school-lockers.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
$SchoolLockers/door_0.rotation_degrees.y = -110// Import school-lockers.glb with glTFast (com.unity.cloud.gltfast).
transform.Find("door_0").localEulerAngles = new Vector3(/* y: */ -110, 0, 0);Use the gaitkit MCP server: get_variant({ "id": "school-lockers", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
count | range | 2 to 10, step 1 | 6 | Number of locker columns side by side, 2 to 10 (30 cm each, so 0.6 to 3 m long). |
tiers | choice | full two-tier | full | full (one 1.7 m door per column, with a hat shelf and a coat hook) or two-tier (two stacked half-height doors per column, school corridor style). |
color | choice | blue red green grey yellow mixed | blue | Door colour: blue, red, green, grey or yellow steel, or mixed (a rainbow of doors in turn). The carcass stays light grey. |
bench | toggle | on / off | false | A slatted changing-room bench in front of the lockers (gym or pool changing room). |
seed | range | 1 to 99, step 1 | 5 | Shuffles what is inside each locker (backpack, jacket, books, ball, nothing). |
Presets: school corridor {"count":8,"tiers":"two-tier","color":"mixed","bench":false,"seed":5} · gym changing room {"count":6,"tiers":"full","color":"grey","bench":true,"seed":9} · staff room {"count":4,"tiers":"full","color":"green","bench":false,"seed":2}
Files
| File | What |
|---|---|
| school-lockers.glb | GLB, default look · 201 KB |
| school-lockers.mjs | ES module, every knob live |
| school-lockers.obj | OBJ, static, no colour |
| school-lockers-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.