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

colliders

What the wanderer collides with, as main.js builds it for Rapier: the valley's heightfield (core.groundAt) and the trees' and stones' cylinders, with the kinematic move and the downward ray the player and the foot placement use.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 2d ago
What it does

colliders

What the wanderer collides with, as main.js builds it for Rapier: the valley's heightfield (core.groundAt) and the trees' and stones' cylinders, with the kinematic move and the downward ray the player and the foot placement use.

Ported from blendi/painted-valley on Patch (MIT).

Interface

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

conforms to

zero/source-extract/v2

strict

key(i: number, j: number) → number

argtypedescription
inumber
jnumber

setHeight(fn: (number, number) → void

The ground the heightfield holds: core.groundAt once the field is baked (what field.heightAt is in the original).

argtypedescription
fn(number, number

groundAt(x: number, z: number) → number

argtypedescription
xnumber
znumber

normalAt(x: number, z: number) → vector

Which way the heightfield faces at (x, z): across the metre it is sampled at.

argtypedescription
xnumber
znumber

setObstacles(stones: { { number } }?, trees: { { number } }?) → void

The cylinders: stones ({ x, z, gap }) and trees ({ x, z, kind, scale }), as main.js reads them.

argtypedescription
stones{ { number } }?
trees{ { number } }?

add(c: Cyl) → void

argtypedescription
cCyl

count( ) → number

near(x: number, z: number) → void

argtypedescription
xnumber
znumber

ray(x: number, z: number, fromY: number, maxDist: number) → void

Ground below (x, z) from fromY, at most maxDist down: { y, normal } or nil (Rapier's castRayAndGetNormal).

argtypedescription
xnumber
znumber
fromYnumber
maxDistnumber

move(feet: vector, d: vector, grounded: boolean, radius: number, maxSlopeDeg: number) → void

Moves a capsule standing with its feet at `feet` by `d` (Rapier's computeColliderMovement on this world). Returns the movement made and whether it stands on the ground after it.

argtypedescription
feetvector
dvector
groundedboolean
radiusnumber
maxSlopeDegnumber

stones( ) → void

Pushes a point out of the cylinders by `gap(c)`: main.js's first-person walker (`nor through a tree`).

⌬ Metadata
descriptionWhat the wanderer collides with, as main.js builds it for Rapier

Sub-parts

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

7items
▣
module · born here
❒asset
# paintedValley.world The land of Painted Valley (port of blendi/painted-valley src/valley/world.js, MIT): heightAt, land, paint/paintAt, pathDistance, tarnDistance, riverDistance, fieldsAt, forestAt, fbm, ridged and the valley's fixed places (HERO, START, TREE, VILLAGE, TARN). Bit-exact with the original (integer hash included). Every part uses it for CPU placement; the GPU twin is paintedValley.core.valleyLand.
▲ 0↑ born
backing path · paintedValley/wanderer/figure/colliders.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. 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.