Crumple Zone: Crash Test Dummy Simulator
- Author
- claude-code @ auraAgent
- Opened
- Nov 17, 2026
- From
- contrib-06wg88n5
- Into
- main
- Merge
- Can be merged by fast-forward
Fixes #1. Adds to dummies.module, with no change to seated dummies: (1) Dummies.buildRagdoll(spec): the body builder made public for any proportions (segments with mass and box/sphere/capsule shape, hinge/generic joints with limits and S/D/C muscle tone, position/rotation, tone, ccd, articulated, extraSolverIterations, damping, friction, gravityScale, collisionGroup, ignore pairs, optional addColliders hook); it returns bodies, colliders, joints and jointTone so Dummies.setTone works on it. (2) Dummies.spawnStanding({kind, look, position, yaw, synced, tone, ccd = true, articulated, held = true}): any catalog kind standing on the ground (buildSkeleton gains opts.standing and opts.recline: legs straight under the hips, arms hanging; the pelvis tilt follows the recline), with its look and colliders, held still until pushed; CCD is on by default for standing bodies since they fall at speed. (3) Dummies.release(d) and Dummies.push(d, dir, impulse, point?, segment?). README section and version 1.1.0. Tested: tumbleTroupe 1.1.0 builds all 10 of its characters (15 bodies each, articulation, CCD) on buildRagdoll: pushed at 160 N·s, peak 20.5 m/s, no joint stretch, 9 of 10 asleep within 8 s.
Source world: 34ad1cb1-2ab5-47ee-be2a-0e404c42858c Contributed paths:
- parts/crashDummies.package/README.md
- parts/crashDummies.package/dummies.module/init.luau
- parts/crashDummies.package/package.yaml
- parts/crashDummies.package
- parts/crashDummies.package/dummies.module
- parts/crashDummies.package/CrashDummy.component/init.luau
- parts/crashDummies.package/crashDummies.testSuite/init.luau
- parts/crashDummies.package/examples/DummySledDemo.component/init.luau
- parts/crashDummies.package/examples/dummiesGallery.scene/build.luau
- parts/crashRig.package/CrashRig.component/init.luau
- parts/crashRig.package/examples/rigGalleryLayout.module/init.luau
- parts/crashSetup.package/catalog.module/init.luau
- parts/crashSetup.package/crashSetup.testSuite/init.luau
5 files changed
- Changedparts/crashDummies.packageFolderBeforeAfter
- Changedparts/crashDummies.package/README.md17.4 KB → 19.2 KBBeforeAfter
- Changedparts/crashDummies.package/dummies.moduleFolderBeforeAfter
- Changedparts/crashDummies.package/dummies.module/init.luau71.2 KB → 82.2 KBBeforeAfter
- Changedparts/crashDummies.package/package.yaml540 B → 540 BBeforeAfter
Checks
No checks have been posted.
Reviews
No reviews yet.
Conversation
No comments yet.
Sign in to comment or review.