Skip to main content

Prefab Assets

SuperDex ships a library of physics prefabs under assets/prefabs/. A prefab is a JSON file (.superdex_prefab, or .mochi_prefab for older assets) that declares rigid, soft, articulated, and rod actors with their materials, collision models, and render models. Add one to a SuperDex Physics scene, open it in the Studio Prefab Editor, import it into SuperDex Unreal, or list it as a spawnable prefab in a SuperDex scene. For the format, see Authoring Prefabs.

Each folder holds a main prefab and, where useful, variants of it, such as a task's starting arrangement. Many folders also have a tuning/ subfolder of Asset Tuner experiments that check the prefab's behavior, for example how hard a key must be pressed or how firmly a plug seats. The Bodies column lists the actor types the main prefab uses.

Dexterity Tests​

Simulated versions of standard clinical hand-function tests.

ThumbnailPrefabAsset LinkBodiesContents
Box and Block TestBox and Block Testbox_and_blocksRigidA partitioned box with 32 blocks in four colors. The box and each colored block are also separate prefabs.
Functional Dexterity TestFunctional Dexterity Testfunctional_dexterity_testRigidA pegboard with its pegs seated. Variants: a single peg (fdt_peg), and functional_dexterity_test_partly_flipped, with four pegs not yet flipped.
Nine-Hole Peg TestNine-Hole Peg Testnine_hole_peg_testRigidA pegboard with nine seated pegs. Variants: a single peg (nine_hole_peg), and nine_hole_peg_test_transfer, which adds an empty board to move the pegs to.

Toys and Puzzles​

ThumbnailPrefabAsset LinkBodiesContents
Brick ToysBrick Toysbrick_toysRigidEight large 2x2 interlocking bricks whose studs snap together. Each color is also its own prefab (large_brick_toy_2x2_<color>).
Fidget BoxFidget Boxfidget_boxArticulatedA fidget toy built as a single articulation.
Puzzle CubePuzzle Cubepuzzle_cubeArticulatedA 2x2 puzzle cube whose corners turn about the center on spherical joints, with detents. Variant: puzzle_cube_scrambled, two quarter turns from solved.
Rubber DuckRubber Duckrubber_duckSoftA bath-sized soft rubber duck.
Shape BoxShape Boxshape_boxRigidA shape-sorting box with a sliding lid and 12 blocks that fit through its holes. Variant: shape_box_four_out, with four blocks on the table.

Household Objects​

ThumbnailPrefabAsset LinkBodiesContents
Duck LampDuck Lampduck_lampSoftA compliant duck-shaped lamp, lying down.
HeadphonesHeadphonesheadphonesArticulated, rigid, rod, softOver-ear headphones with a sprung band, swiveling cups and soft pads, and a 1/4 in audio cable with a plug at each end that seats in the headphones' jack. headphones_set places them on a table with the cable; headphones/ and cable/ are standalone prefabs.
KitchenKitchenkitchenArticulated, rigid, softA kitchen sink scene: a counter with an inset sink, a turning faucet, a pump soap dispenser, a double light switch, a wall cabinet with doors, and loose props (a screw-top jar, plates, and a soft sponge). Each object is also its own prefab in a subfolder.
MIDI KeyboardMIDI KeyboardmidiArticulatedA 37-key MIDI controller built as a single articulation: keys, buttons, sliders, a knob, pitch and modulation wheels, a joystick, and 1/4 in jacks (L, R, and PHONES) that the headphone cable's plug seats in.
Paper CupsPaper Cupspaper_cupsRigidAn 8 oz paper cup that nests and stacks. paper_cup_pyramid stacks ten upside down; paper_cup_pyramid_half_built has the bottom two rows built and three cups beside them.

Fixtures and Primitives​

ThumbnailPrefabAsset LinkBodiesContents
ChainChainchainRigidTen interlocking chain links.
SphereSpheresphereRigidA single rigid sphere.
WorkbenchWorkbenchworkbenchRigidA static workbench, 1.5 m wide, 0.6 m deep and 0.9 m tall, used as the table in the SuperDex Unreal Sampler and the runtime_scene_load scene.