CarGallery.component
README.md
CarGallery
Put on a synced entity to lay out a showroom grid of Car Forge display cars of one preset (preset, seeds seedFrom..seedFrom+count-1, cols per row, spacingX / spacingZ apart, centred on the entity, cars facing +Z). Every peer builds the cars locally from the seeds, perFrame a frame, as temporary children, so the scene file stores only this component. Changing preset (the shared field) rebuilds the grid on every peer.
Each car gets a sign at its front-right corner (seed number, model name and number plate) and an interactKit prompt, Take it for a drive, that spawns the car as a drivable vehiclesKit car at startX/startY/startZ heading startYaw (degrees, 0 = along -Z) and seats the player; a player's previous test car is removed. With kiosks on, two walk-up kiosks in front of the grid step the preset back and forward and a large title sign behind the grid names it. With picker on, the on-screen preset picker (carShowcase.showcase) is shown in play.
Needs carForge, interactKit and vehiclesKit installed. Methods: :progress() → built count and whether it is complete, :describeSeed(seed), :takeOut(seed).