FabricCloth.component
README.md
FabricCloth
Put on a draped sheet or a cushion (an entity with a Model, usually a SoftBody too) to keep its fabric at real size whatever fabric it wears. When the library applies a material to the entity, by Materials.apply or the picker, for any player, it switches the entity's Model.model to the FabricDrape mesh whose UVs are laid for that material's tileSize. Fields: shape (sheet or cushion) and fabric (the library id it starts with). The swap is the same write on every machine, made from the library's shared material channel through its PlayWrites, so Stop has nothing to discard. Works with any library material, other collections' included.