Path Tile
A tower-defense path tile on a 1 m grid: a sunken dirt, cobble or sand lane between raised grass verges with chamfered banks and rounded bends, set cobbles or ruts and pebbles in the lane, kerb stones, grass tufts and small flowers on the verges, and layered soil and rock showing on the tile sides. Pieces: straight (N-S), corner (S to E), t (E-W with a branch to S), cross, end (dead end from S). The lane meets each open edge centred, so tiles snap edge to edge; rotate in 90 degree steps. userData.tile lists the open ends (N = -Z, E = +X, S = +Z, W = -X).
- Size
- 2.0 × 0.38 × 2.0 m
- Triangles
- 1,004
The other 4 in Tower DefensePro
Pro is $12 a month: all 590 specimens, every knob baked into GLB or OBJ. Or $79 once. See Pro plans
Tune it
4 knobs: Piece, Surface, Size, Decor.
Specs
- Size
- 2.0 × 0.38 × 2.0 m width × height × depth
- Triangles
- 1,004 of 6,000
- Draw calls
- 1 one vertex-colour material
- Knobs
- 4 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/path-tile.mjs';
const pathTile = createAsset();
scene.add(pathTile); // rests on y = 0, front faces +Zimport { useGLTF } from '@react-three/drei';
// path-tile.glb from the Download button (it carries the knobs you set), saved in /public
export function PathTile() {
const { scene } = useGLTF('/path-tile.glb');
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy path-tile.mjs and runtime/ into your project and use the three.js tab.# Import path-tile.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://path-tile.glb").instantiate())// Import path-tile.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": "path-tile", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
piece | choice | straight corner t cross end | corner | straight (lane from N to S), corner (rounded bend joining S and E), t (E-W lane with a branch to S), cross (all four edges), end (lane from S ending in a round spawn or goal patch). |
style | choice | dirt cobble sand | dirt | Lane surface: dirt (packed earth with ruts and pebbles), cobble (set grey cobblestones), sand (desert maps, wind ripples). |
size | range | 1 to 3, step 1 | 2 | Tile edge in 1 m grid cells; the lane is about 0.4 of the tile wide. Use 2 to match 2 x 2 towers. Do not mix sizes along one lane. |
decor | toggle | on / off | true | Kerb stones along the lane, pebbles in it, and flowers and grass tufts on the verges. Off gives clean grass and a bare lane. |
Presets: cobble crossroads {"piece":"cross","style":"cobble"} · desert bend {"piece":"corner","style":"sand","size":3} · spawn end {"piece":"end","decor":true}
Files
| File | What |
|---|---|
| path-tile.glb | GLB, default look · 255 KB |
| path-tile.mjs | ES module, every knob live |
| path-tile.obj | OBJ, static; colours in the .mtl |
| path-tile.mtl | OBJ colours; keep it next to the .obj |
| path-tile-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.