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

Swimmer

Moves the body it sits on through water in three dimensions: the movement system of the `abyssal.diver` avatar. `move` (from `moveMap`, the default scheme) swims along the camera's view, its forward with its pitch so looking down and swimming forward dives, and its right; `flyUp`…

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

Swimmer

Moves the body it sits on through water in three dimensions: the movement system of the abyssal.diver avatar. move (from moveMap, the default scheme) swims along the camera's view, its forward with its pitch so looking down and swimming forward dives, and its right; flyUp / flyDown (from verticalMap, the built-in flight scheme) rise and sink. With no vertical control held the body drifts down at drift, and the speed eases toward the controls at response, the way water slows a swimmer.

The body is a capsule (radius, height, standing on its feet) swept against every collider each frame, sliding along what it meets, so it keeps out of the seabed, rocks and set pieces of the world's collision proxy. It adds a MovementState beside itself when there is none, which Locomotion reads to face the body along its motion and blend its clips. Only the local player's body answers the controls; velocityX/Y/Z and touching report the last step.

Interface

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

conforms to

zero/source-extract/v2

Swimmer: moves the body it sits on through water in three dimensions. `move` swims along the camera's view (its forward with its pitch, so looking down and swimming forward dives) and its right; `flyUp` / `flyDown` rise and sink straight up and down. With no vertical control held the body drifts slowly down, and every change of speed eases in the way water slows a swimmer. The body is a capsule of `radius` and `height` standing on its feet; it is swept against every collider and slides along what it meets, so it keeps out of the seabed and the rocks. Only the local player's body answers the controls; every other body stands still here and moves with the sync.

MovementState

take( ) → void

drop( ) → void

localUserId( ) → string

isLocalPlayersBody( ) → boolean

the local player's body carries a PlayerAvatar (on itself or an ancestor) this peer owns, naming this peer's user

sync( ) → void

arm( ) → void

release( ) → void

awake( ) → void

onDestroy( ) → void

viewBasis( ) → void

the camera's forward (with its pitch) and its right, flattened onto the water's level

sweep(pos: vector, delta: vector, resting: boolean) → void

sweep the capsule (feet at `pos`) along `delta`, sliding along what it meets; a body only drifting (`resting`) settles on ground it sinks onto instead of sliding down its slope

argtypedescription
posvector
deltavector
restingboolean

update(dt: number) → void

argtypedescription
dtnumber

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.