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

adoptParts

Keeps a shared (synced) object whole on every player's machine. A scene record under a synced entity is built by each peer, but a peer that receives the synced entity over the network loads its authored children at the scene root, detached at the origin. The owner publishes its c…

by◐Deata·posted 3d ago
What it does

adoptParts

Keeps a shared (synced) object whole on every player's machine. A scene record under a synced entity is built by each peer, but a peer that receives the synced entity over the network loads its authored children at the scene root, detached at the origin. The owner publishes its children's ids in a synced string field; every other peer re-attaches those entities under the shared one, keeping their authored local transforms.

local adopt = require("stations.adoptParts")
-- in update(): public.partIds is a Field.string("", Sync, ...)
public.partIds = adopt.keep(rootEntity, public.partIds)

Interface

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

conforms to

zero/source-extract/v2

Keeps a shared (synced) object whole on every player's machine. A peer that receives the shared entity over the network loads its authored children at the scene root; here they follow the shared entity each frame instead (no reparenting, so the scene's records are never touched). The builder publishes its children's ids and local poses in a synced field.

qmul(a: { number }, b: { number }) → void

argtypedescription
a{ number }
b{ number }

v3(v: any) → void

argtypedescription
vany

q4(v: any) → void

argtypedescription
vany

isMine(root: any) → boolean

argtypedescription
rootany

members(root: any) → void

The object's parts on this peer: its children, or the detached parts it follows.

argtypedescription
rootany

setLocal(root: any, part: any, position: { number }, rotation: { number }?) → void

Pose a part in the object's frame, whether it is a child or follows the object.

argtypedescription
rootany
partany
position{ number }
rotation{ number }?

keep(root: any, published: string) → string

Call each frame from a component on the shared entity. Returns the parts to keep published: "id@x;y;z;qx;qy;qz;qw" per part, its local pose under the object as the builder holds it.

argtypedescription
rootany
publishedstring

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.