Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·originates fromworld 7f138801-7…

Wanderer

The body of a Painted Valley player: put it on the PlayerPrototype's body entity beside an `Asset` on `paintedValley.wanderer.figure.starter_man`. It dresses Patch's starter man (cel paint, straw hat, blue cloak) and poses him every frame: the local player's from main.js's walker…

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

Wanderer (component)

The body of a Painted Valley player: put it on the PlayerPrototype's body entity beside an Asset on paintedValley.wanderer.figure.starter_man. It dresses Patch's starter man (cel paint, straw hat, blue cloak) and poses him every frame: the local player's from main.js's walker (third person with the figure's player, animator, foot placement and cloth; first person with V), every other player's from their peer's avatar channel. Ported from blendi/painted-valley (MIT): src/valley/main.js, src/figure/*, src/valley/wanderer.js, src/valley/sounds.js.

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

v( ) → any

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

argtypedescription
xnumber
znumber

yawQuat(yaw: number) → void

argtypedescription
yawnumber

myRole( ) → string

meadow( ) → any

bend(x: number, z: number, r: number, vx: number, vz: number, amount: number) → void

argtypedescription
xnumber
znumber
rnumber
vxnumber
vznumber
amountnumber

sunDir( ) → vector

setShared(name: string, value: { number }) → void

argtypedescription
namestring
value{ number }

air(x: number, _y: number, z: number) → vector

The wind where the cloak is: the valley's, in gusts (main.js air()).

argtypedescription
xnumber
_ynumber
znumber

bindSinks( ) → void

applyPose( ) → void

standAt(x: number, z: number, yaw: number) → void

Stands him at a place, facing a way (his yaw: 0 looks along +z), still.

argtypedescription
xnumber
znumber
yawnumber

setThird(on: boolean) → void

Third person or first. Either way you are where you were, looking where you looked.

argtypedescription
onboolean

tread(dt: number, heard: boolean) → void

What walking does to the meadow and, for a walker with no feet to be seen, what it sounds like.

argtypedescription
dtnumber
heardboolean

publishPlayer( ) → void

the walker's numbers out to v.player (other parts read it)

updatePlayer(dt: number) → void

argtypedescription
dtnumber

placeCamera( ) → void

updateWanderer(dt: number) → void

argtypedescription
dtnumber

openChannel( ) → void

clipIndex(name: string?) → number

argtypedescription
namestring?

stateOut(gaze: vector) → void

argtypedescription
gazevector

updateRemote(dt: number) → void

argtypedescription
dtnumber

soundsHere(dt: number) → void

argtypedescription
dtnumber

ears( ) → void

setup( ) → boolean

becomeLocal( ) → void

onView( ) → void

update(dt: number) → void

argtypedescription
dtnumber

onDestroy( ) → void

setThird(_self: any, on: boolean) → void

what the part module and tests reach on this body

argtypedescription
_selfany
onboolean

standAt(_self: any, x: number, z: number, yaw: number) → void

argtypedescription
_selfany
xnumber
znumber
yawnumber

destroy(_self: any) → void

argtypedescription
_selfany

state(_self: any) → void

argtypedescription
_selfany

input(_self: any) → void

argtypedescription
_selfany
⌬ Metadata
descriptionThe body of a Painted Valley player: dresses and animates Patch's starter man as the wanderer (walker, animator, foot IK, cloak, footsteps, avatar channel).

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.

47+items
▣
module · born here
❒asset
# 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).
▲ 0↑ born
▣
module · born here
❒asset
# animator Port of figure/animator.js: phase-synced locomotion blends, one-shot starts, stops, turns and jumps, idle variations, even spine, upright posture, relaxed hands, look toward the camera, arm clearance, lean into turns and two-bone foot IK on the ground. Used by the Wanderer component. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
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
▣
module · born here
❒asset
# player Port of figure/player.js: the starter man as a player, turning and speeding up like a person and choosing what the animator plays, moved through the valley's colliders (figure/colliders) as Rapier's kinematic controller moved him. Used by the Wanderer component. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# camera Port of figure/camera.js: the Follow camera's maths (yaw, pitch, zoom, pivot damping, ground clearance). Used by the Wanderer component; the Follow component places the camera. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# sounds Port of valley/sounds.js: the footsteps (five CC0 recordings) and the hooks for the five Sonniss ambiences that are not in the repo (grass, leaves, summer, lake, crickets), played at the levels the original gives them. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# wanderer The wanderer part's entry for the valley's scene driver (build, update, destroy), the shared state other parts read (player, tagEntities, tagsVersion) and setupPrototype, which makes a PlayerPrototype the wanderer's. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# man Patch's starter man (port of figure/man.js): reads the rig of figure/starter_man.bundle and the tracks of every clip in figure/starter-man-clips_anims once per engine, keeps root travel as `motion`, and `rootAt` samples a clip's root. Used by the animator and the player. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# q Quaternion and vector helpers on plain numbers and Luau vectors, with three.js's formulas (multiply, rotate, slerp, slerpFlat, setFromUnitVectors). Used by every module of the wanderer's figure. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# input Port of figure/input.js: reads the wanderer's controls (controls.inputMap) into the original's per-frame state (move, walk, sprint, strafe, jump, look, zoom, pad curves and dead zones). Used by the Wanderer component. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# dress Port of valley/wanderer.js: paints the starter man's meshes with the cel shader (shirt over trousers split by bind height), puts on the straw hat, hangs the cloak and hands the frame the ink tag of each part. Used by the Wanderer component. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
backing path · paintedValley/wanderer/Wanderer.component

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.