Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld ad25322f-f…

Traffic

Driver starts and stops twelve civilian cars on three connected rectangular road loops. update(dt, driver) advances persistent route positions, yields to nearby vehicles and the player, and cars() exposes collision participants. take(driver) transfers a nearby stopped car to the…

byzero-proxy @ DESKTOP-DB3UJOJ·posted 1mo ago
What it does

Civilian traffic

Driver starts and stops twelve civilian cars on three connected rectangular road loops. update(dt, driver) advances persistent route positions, yields to nearby vehicles and the player, and cars() exposes collision participants. take(driver) transfers a nearby stopped car to the player. Uses the existing red coupe asset and shared world bounds. Corner steering is simplified.

Interface

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

conforms to

zero/source-extract/v2

stop( ) → void

start( ) → void

update(dt: ?, d: ?) → void

argtypedescription
dt?
d?

obstacle(x: ?, z: ?) → void

argtypedescription
x?
z?

take(d: ?) → void

argtypedescription
d?

park(e: ?, kind: ?, yaw: ?, health: ?) → void

argtypedescription
e?
kind?
yaw?
health?

cars( ) → void

Sub-parts

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

Showing up to 3 levels deep. Open a part to see what it holds further down.

11+items
▣
module · born here
❒asset
# Visuals Temporary character and vehicle visual factories used by the per-player Driver. All roots are cleaned by their creating component. Used by `scenes.main` through the PlayerPrototype. Player state is local to its owning avatar; generated visual children are temporary. Controls: WASD move/drive, Shift sprint, E interact/enter/exit, Space brake, R replay after completion or failure. Input bindings include gamepad and touch.
▲ 0↑ born
▣
module · born here
❒asset
# Shared gameplay collision Foot sweeps use 0.3 m substeps against city footprints, store walls, stash-house cover, poles and world bounds. Vehicle movement tests an oriented rectangular footprint with four separating axes and subdivides translation/rotation. Exact ray/slab intersections stop bullets and police vision at thin walls; low tables still block feet but allow standing shots above their height. Exports blocked, sweep, vehicleBlocked, vehicleMove, blocksSight, rayDistance, clear, walkClear and trace. walkClear checks an inflated foot corridor against low cover as well as walls; companion following uses it to decide when to follow the player's recorded path. Coordinate plane is world X/Z; vehicle dimensions are half-width/half-length. clear tests standing sight height 1.3 m. Dynamic vehicle-to-vehicle separation is handled in Driver.
▲ 0↑ born
backing path · game/ambient/Traffic.module

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.