Log inGet started
·
scenemodule · drop-in viewer
asset⌬ scenemodulesceneModuleprimary: init.luau·originates fromworld 8c90d7c4-9…

Horse.sceneModule

A scene module that builds a single horse, faceted and chunky, facing **+Z**: the barrel, chest and rump as low-segment spheres, a tapered neck, a box skull with a blaze, ears and eyes, a mane and a tail, four legs of three segments each, and a jockey in silks — saddle cloth, bre…

by◐Doomin·posted 5d ago
What it does

Horse — one low-poly racehorse and its jockey

A scene module that builds a single horse, faceted and chunky, facing +Z: the barrel, chest and rump as low-segment spheres, a tapered neck, a box skull with a blaze, ears and eyes, a mane and a tail, four legs of three segments each, and a jockey in silks — saddle cloth, breeches, vest, arms, gloves, thighs, boots, helmet, goggles and face.

scenes/main.scene/build.luau places eight of them, one per saddle number, at the starting gates.

The gallop

There is no animation clip and no per-frame script. The four legs, the tail, the body's bob and the jockey's rise are all formulas of Time written with Expr.sin, which the engine evaluates on the device every frame:

leg.rotation.x = Expr.sin(Time * stride + phase + L.off) * 0.62
body.position.y = Expr.sin(Time * stride * 2 + phase) * 0.045

phase is an input, so the eight horses are not in step, and L.off puts the front and back legs of one horse out of step with each other the way a gallop runs. Because the pose is a formula, RaceDirector only ever moves the placement — the legs keep swinging for free on every horse at once.

math.sin(Time …) does not work here: Time is a formula, not a number, and the build context's trig functions are Expr.sin and Expr.cos.

Inputs

inputdefaultmeaning
number1the horse's saddle number (part names carry it)
body#a4571fcoat colour
silk#c0392bthe jockey's silks and the saddle cloth
cap#f2f2f2the jockey's helmet
phase0stride offset in radians, so eight horses do not move as one

Set them per placement with :instantiate(nil, { params = { … } }).

Notes

  • A :round(r) on a face thinner than about 2r fails and the part is silently not drawn — the blaze and the number plate are deliberately unrounded.
  • Every part is a shared geometry drawn as an instance, so eight of these cost a handful of draws.
  • The proportions come from design/references/03-player-horse.png: 1.6 m at the withers, 2.4 m from chest to tail, jockey sitting at 2.3 m.

Interface

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

conforms to

zero/source-extract/v2

Horse — one low-poly racehorse and its jockey, built as a tree of faceted parts. The four legs, the tail and the jockey's rise ride formulas of `Time`, so the gallop costs no script: the race only ever moves the placement. The model faces +Z. `RaceDirector` places it with `RaceSim.pose` each frame. Proportions are taken from design/references/03-player-horse.png: 1.6 m at the withers, 2.4 m from chest to tail, a long neck carried high, deep barrel, thick thighs tapering to slim cannon bones, white socks on the front, and a jockey tucked forward over the withers.

mat(colour: string, roughness: number) → void

argtypedescription
colourstring
roughnessnumber
⌬ Metadata
description

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

4items
This part has no composite children. See the Files segment for its leaf payloads.
backing path · Horse.sceneModule

Problems

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

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.