Path Tile
A tower-defense path tile on a 1 m grid: a sunken dirt, cobble or sand lane with raised grass verges, edging stones and small flowers. 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,202
Tune it
4 knobs: Piece, Surface, Size, Decor.
Specs
- Size
- 2.0 × 0.38 × 2.0 m width × height × depth
- Triangles
- 1,202 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 { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/path-tile.mjs';
export function PathTile() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# 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 (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), cobble (grey cobblestones), sand (desert maps). |
size | range | 1 to 3, step 1 | 2 | Tile edge in 1 m grid cells; the lane is about half the tile wide. Use 2 to match 2 x 2 towers. Do not mix sizes along one lane. |
decor | toggle | on / off | true | Edging stones along the lane and flowers and tufts on the verges. Off gives clean grass. |
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 · 149 KB |
| path-tile.mjs | ES module, every knob live |
| path-tile.obj | OBJ, static, no colour |
| 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.