▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage towerDefenseKit.package·originates fromworld 37a76806-2…
paths
Turns a layout's routes into smooth curves (the engine spline module's Catmull-Rom, the same curve spawnerKit's `path` pattern walks), sampled every ~0.5 m with tangents and distance along, and answers questions about them: `distance(set, x, z)` to the nearest centre line (bucket…
by·posted 6d ago
What it does
towerDefenseKit.paths
Turns a layout's routes into smooth curves (the engine spline module's Catmull-Rom, the same curve spawnerKit's path pattern walks), sampled every ~0.5 m with tangents and distance along, and answers questions about them: distance(set, x, z) to the nearest centre line (bucketed, cheap), onRoad, longest, entrances. Every machine computes the same samples, so nothing about the road is synced.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.