Log inGet started
Package

course.module

README.md

course

Builds the Pocket Putt course into the main scene. build(root) is called once by scenes/main.scene/build.luau and bakes, per hole: a Hole<i> entity at Holes.tee(i) carrying pocketPutt.course.HoleIsland (which builds the puttCourse pieces and island body on every machine), the Cup<i> trigger sphere (radius Rules.CUP_RADIUS) at Holes.cup(i), a Water<i>_<k> trigger box with attribute pp.water = true over each pond, and the island's palms, hibiscus, bushes and shells (tropicalProps, toon look). It also places the turquoise toon Sea.

defineSurfaces() is runtime-only (called by the scene entrypoint): it defines the Rules.SURFACES physics surfaces and tunes puttCourse's turf / sand / rail / bumper surfaces to them.