Floating Platform
A moving platformer platform: a grass or stone slab on a hanging rock, a puffy cloud or a hovering metal plate with a glowing thruster, 2 to 5 m wide on a 1 m grid. The part named "platform" slides sideways (x), up and down (y) or back and forth (z) over a set travel; userData.tick(d) moves it and bakes a Loop clip. Rests on y = 0 at its lowest point; lift it to the height you need in your level.
- Size
- 3.0 × 2.0 × 2.0 m
- Triangles
- 802
- Kit
- Platformer
Tune it
5 knobs: Style, Width, Depth, Motion, Travel.
Specs
- Size
- 3.0 × 2.0 × 2.0 m width × height × depth
- Triangles
- 802 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 8 m of travel per cycle
- Moving parts
- 1 platform · slide
- Knobs
- 5 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/floating-platform.mjs';
const floatingPlatform = createAsset();
scene.add(floatingPlatform); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/floating-platform.mjs';
export function FloatingPlatform() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import floating-platform.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
add_child(preload("res://floating-platform.glb").instantiate())// Import floating-platform.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": "floating-platform", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
style | choice | grass stone cloud tech | grass | grass (turf slab on a hanging earth rock with roots), stone (brick slab on a grey crag), cloud (puffy white cloud with a flat top), tech (metal deck with hazard edges and a glowing thruster pod underneath). |
width | range | 2 to 5, step 1 | 3 | Width along X in 1 m grid cells. |
depth | range | 1 to 3, step 1 | 2 | Depth along Z in 1 m grid cells; 1 for a side-scroller. |
motion | choice | sideways vertical depth | sideways | Which way the platform part travels when animated: sideways (along X, swinging ±travel/2), vertical (rises from rest up to +travel, a lift), depth (along Z, ±travel/2). |
travel | range | 1 to 6, step 0.5 | 3 | Total distance in metres the platform moves over one loop. |
Presets: sky lift {"style":"tech","motion":"vertical","travel":4,"width":2} · cloud hop {"style":"cloud","width":2,"depth":1,"travel":2} · ruin ferry {"style":"stone","width":4,"depth":2,"motion":"depth","travel":5}
Files
| File | What |
|---|---|
| floating-platform.glb | GLB, default look · 108 KB |
| floating-platform.mjs | ES module, every knob live |
| floating-platform.obj | OBJ, static, no colour |
| floating-platform-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.