sengokuTownKit.package
This package holds more than this page lists. See all of its files in its world.
README.md
TownColliders
Stands the colliders of a town's placed props from sengokuProps' catalog (Props.colliders(kind, { look, variant })), so what you stand on is what you see: walls as boxes, sloped roofs as mesh colliders lying on the drawn tiles, and stall roofs and bale stacks you can climb. TownColliders.build(instances, { parent, props, look }) answers a handle whose destroy() removes them. Each collider entity carries the attributes the rest of the town reads: sengokuSurface (the footstep surface Footsteps reads), climbable (read by climbKit) and noNav (roofs, left out of TownNav's walk map). Kinds too small or soft to collide with (such as rice and reeds) are skipped; kinds the catalog does not know get a box of their footprint. Called by TownBuilder.