Log inGet started
·
scene · drop-in viewer
asset⌬ scenescene·originates fromworld 5281f6dd-3…

main

A construction site with a working excavator, authored as code in `build.luau`.

by◐sdfsdf·posted 1mo ago
What it does

main

A construction site with a working excavator, authored as code in build.luau.

What is here

A dirt heap and a tipper truck, placed in reach of one another, and one tracked excavator the player operates. Around them: a compacted-earth apron, traffic cones, barriers and a few concrete blocks.

The machine is the scene's player: it is the PlayerPrototype's body, so the engine mints one per joining user and nothing here is singleplayer. See core/multiplayer for why that matters.

The dig loop

  1. Drive to the heap (W/S to travel, A/D to steer).
  2. Swing the house so the bucket is over the heap (Q/E) and lower it (arrow keys for boom and arm, Z/X for the bucket).
  3. The bucket fills on its own once its cutting edge is in the heap.
  4. Swing to the tipper and lower the bucket over the bed to empty it.
  5. When the bed is full the tipper raises, the load is counted, and the bed comes back down for the next one.

Nothing is a hidden key press: the dirt moves when the bucket is in the right place, which is what makes the arm the whole game.

Why the machine is authored, not imported

An excavator is a jointed machine — the house swings on its ring, and the boom, arm and bucket each turn on a pin. A single imported model cannot articulate, so the machine is built from rigid parts, each parented to the part it moves with. Construction.module makes the shapes; every measurement comes from Construction.RIG, so the geometry and the controller that drives it cannot drift apart.

Who does what

AssetJob
Construction.moduleThe geometry: track, bucket, boom, arm, heap, and the rig's measurements.
ExcavatorControls.inputMapThe six controls, each carrying keyboard, gamepad and touch.
ExcavatorController.componentOperates the machine and runs the dirt loop.
Hud.component + ExcavatorHud.moduleThe on-screen display.

The parts worth knowing

  • The body's origin is the centre of its collider, 0.86 m above the ground. Everything visible hangs under a child named rig, dropped by that half height, so the tracks' soles sit at y = 0. rideHeight on the controller carries the difference.
  • A BoxCollider on a child does not reach the ancestor's body — the body keeps its own default box. The machine's box is therefore stated on the body itself.
  • A player body takes its pose from its transform. Writes to its velocity are accepted and then discarded, because the transform is what the body is posed from. ExcavatorController integrates the machine itself and writes the pose, casting ahead of each step so the tracks stop at what is in front of them.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

This asset doesn't declare a schema or structured payload.

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.