Vixen
dd8b0a81

Editor · guide

Collision under the sculpt brush

The adapter that joins the sculpt tools' `ITerrainColliders` seam to `TerrainColliderSystem`, so a stroke rebuilds the Jolt height field it moved — and the one number that says the wiring is wrong.

Edit this page on GitHub

Documents

Next

  • Sculpt and paint mode — The viewport mode the terrain tools live in — two categories sharing the digits, one drag as one undo entry, and the panel as settings objects rather than dialog code.
  • What a play session runs — How a module adds systems to the frame the editor's Play button steps — the `IPlaySystems` contribution, the `PlaySession` that owns their lifetime, and the physics world the editor now stands up on Play and takes away on Stop.
  • Terrain collision — One Jolt height-field shape per tile, kept in step with the ground, in its own assembly so neither the kernel nor the renderer links the other's dependency.
  • Sculpting a heightfield — The seven sculpt kernels plus holes and paint, the stroke record that makes a drag undoable, and the ray that turns a pointer into a sample.
  • The terrain heightfield — One grid of 16-bit heights over an authored range, a stack of non-destructive edit layers, the paint channels and the hole mask.