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

collision

Abyssal Garden's collision proxy. `bake()` builds one static triangle mesh standing in for everything solid the `abyssal.abyssal` render feature draws (the seabed's density field meshed again on a 1.5 m grid, the whale fluke and the ship as drawn, and a 20-triangle hull for each…

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

collision

Abyssal Garden's collision proxy. bake() builds one static triangle mesh standing in for everything solid the abyssal.abyssal render feature draws (the seabed's density field meshed again on a 1.5 m grid, the whale fluke and the ship as drawn, and a 20-triangle hull for each boulder, large rock chunk and sponge) and saves it as the mesh abyssal.seafloor_collision; a rebake rewrites that mesh's geometry and keeps its guid. The scene's Collision entity carries it in an exact MeshCollider, which is what the diver swims against.

Run it from an engine whose render feature has finished generating, since the placed solids are read back from the feature's buffers: require("abyssal.collision").bake(). It answers the triangle counts it wrote.

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

gpu(owned: { any }, name: string, len: number, usage: { string }?) → any

argtypedescription
owned{ any }
namestring
lennumber
usage{ string }?

readBytes(b: any) → buffer

argtypedescription
bany

featureBuffer(name: string) → any

the feature's live buffer named `abyssal.<name>.<tag>`: the generator's output the feature drew this session

argtypedescription
namestring

qrot(q: { number }, x: number, y: number, z: number) → void

argtypedescription
q{ number }
xnumber
ynumber
znumber

seabed(P: { number }, I: { number }) → void

argtypedescription
P{ number }
I{ number }

hulls(mesh: any) → void

each mesh's extent along the 12 directions, in its own space

argtypedescription
meshany

solids(P: { number }, I: { number }, mesh: any) → void

argtypedescription
P{ number }
I{ number }
meshany

place(x: number, y: number, z: number) → void

argtypedescription
xnumber
ynumber
znumber

bake( ) → void

Builds the collision proxy and saves it as `abyssal.collision` (replacing the previous one). Run it from an engine whose `abyssal.abyssal` render feature has finished generating (its solids buffers are read back).

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.