Pump Shotgun
A generic pump-action game shotgun about 95 cm long, standing on its grip and stock toe with the muzzle toward +Z (or lying on its side as a pickup): a bevelled receiver with an ejection port, a barrel with a vent rib and a glowing bead sight over a magazine tube, a grooved pump forend, a trigger guard and a full stock with a butt pad or a pistol grip, plus an optional side saddle of shells. Barrel length, stock, shells and finish (including walnut wood) are knobs, in modern or sci-fi style. The forend is a part named pump that slides back along z; an empty node named muzzle marks the barrel tip (the shot spawn point) and one named grip the hand grip. The bead and the sci-fi glow strips light up at night.
- Size
- 0.07 × 0.18 × 1.1 m
- Triangles
- 1,284
Tune it
6 knobs: Finish, Style, Barrel, Stock, Shells, Pose.
Specs
- Size
- 0.07 × 0.18 × 1.1 m width × height × depth
- Triangles
- 1,284 of 6,000
- Draw calls
- 1 one vertex-colour material
- Moving parts
- 1 pump · slide
- Knobs
- 6 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/shotgun.mjs';
const shotgun = createAsset();
scene.add(shotgun); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/shotgun.mjs';
export function Shotgun() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import shotgun.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
add_child(preload("res://shotgun.glb").instantiate())// Import shotgun.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": "shotgun", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
finish | choice | black tan olive wood chrome | black | Colourway: black (tactical), tan (desert tan furniture), olive (olive drab furniture), wood (walnut stock and forend on blued steel, a classic hunting look) or chrome (polished steel with black furniture). In sci-fi style it also picks the glow colour. |
style | choice | modern scifi | modern | modern (a contemporary pump shotgun) or scifi (an angular vented shroud over the barrel with glowing slits, a glow strip on the pump, an emitter ring at the muzzle and glowing energy shells). |
barrel | range | 0.35 to 0.7, step 0.05 | 0.5 | Barrel length in metres (0.35 a short breaching shotgun, 0.7 a long hunting gun); the magazine tube under it grows with it. |
stock | choice | full pistol | full | full (a shoulder stock with a rubber butt pad) or pistol (only a pistol grip and an end cap, a compact breaching gun). |
shells | toggle | on / off | true | A side saddle on the left of the receiver holding four spare shells (red hulls, brass bases; glowing cells in sci-fi). |
pose | choice | upright ground | upright | upright (standing as if held, muzzle +Z) or ground (lying on its left side, as a pickup dropped on the floor). |
Presets: riot shotgun {"finish":"black","barrel":0.45,"stock":"full"} · hunting shotgun {"finish":"wood","barrel":0.7,"shells":false} · breacher {"finish":"olive","barrel":0.35,"stock":"pistol","style":"scifi"}
Files
| File | What |
|---|---|
| shotgun.glb Pro | GLB, default look · 164 KB |
| shotgun.mjs Pro | ES module, every knob live |
| shotgun.obj Pro | OBJ, static; colours in the .mtl |
| shotgun.mtl | OBJ colours; keep it next to the .obj |
| shotgun-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.