Skip to content

v0.2.1-spatial

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Nov 04:46
· 3 commits to main since this release

Experimental. Spatial may change or be removed. The other four libraries are the same code as v0.2.0.

New

  • Terrain as heightfields. Ground is stored as heights, kept within 0.25 m above the real surface. The collector can take only the colliders inside a part's box, so far scenery stays out.
  • Wall distance as a tree. A large, mostly open grid keeps its wall distance in a 64-way tree of 4×4×4 bricks, at four bits a cell. A 450 × 49 × 450 m area fits in about 4 MB, where a count a cell takes 79 MB. A stored tree is checked against the shapes it was built from.
  • Regions and routes over the tree. Size classes, regions and routes work on a grid that keeps a tree, with a route search of fixed size.
  • Visualizer. The Spatial grid tab is simpler: four modes, a few actions, tables of values. A "Keep as a tree" switch and an Outdoors scene show the tree beside the dense grid. Spatial tabs are tinted.
  • Docs. Shorter READMEs with pictures; the rules moved to reference pages. Every public member of Spatial is documented.

Changed

  • Shapes.Version changed: stored shape blocks must be baked again.
  • The Unity package needs the Terrain and Terrain Physics modules.

Full Changelog: v0.2.0-spatial...v0.2.1-spatial