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

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.

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

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).

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

new( ) → Follow

update(self: Follow, dt: number, target: vector, look: { x: number, y: number }, zoom: number, castRay: (vector, vector, number) → void

look: { x, y } radians this frame; zoom: wheel steps this frame. castRay(from, dir, max) -> distance or nil; groundAt(x, z) -> the lowest the eye may go there (less its 0.45).

argtypedescription
selfFollow
dtnumber
targetvector
look{ x: number, y: number }
zoomnumber
castRay(vector, vector, number

direction(self: Follow) → vector

The direction the camera looks (camera.getWorldDirection).

argtypedescription
selfFollow
⌬ Types
Follow = typeof(setmetatable({} :: { [string]: any }, Follow))
⌬ Metadata
descriptionPort of figure/camera.js

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
# 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
backing path · paintedValley/wanderer/figure/camera.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.