Log inGet started
World

Save Point

Branchmain
Branchesmain
Commit8937fc8d08

README.md

padModel

The SNK Neo Geo CD controller at true size (140 x 62 x 24 mm), for a scene's build.luau: a ZeroBlender model (props/pad/Pad.zblend, built by props/pad/build_pad.py) frozen to one mesh per material under props/pad/meshes, PBR materials in props/pad/materials. Dogbone body with its parting line, the round thumb pad in its ringed well with the moulded direction arrows, A red / B yellow / C green / D blue in their arc, SELECT and START, ribbed cable strain relief. About 7k triangles. Its four face buttons cover every console the room's television runs (NES, CHIP-8, Neo Geo).

local Gamepad = require("stations.padModel").Gamepad
local pad = Gamepad("pad_1", { synced = true })   -- root entity at the pad's centre, top face +Y, cable end -Z

The visual is the child <name>_model, one grandchild per mesh. Gamepad.HALF is its half size in metres, for a collider.