Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

InLandscapeTrait

const InLandscapeTrait: Trait<{ ground: () => Entity | null; }>

The ground of the Landscape an entity mounted in, which the step reads that Landscape’s gravity from and the devtools frame by. An Entity and a Player inside a Landscape add it; one spawned elsewhere, by a system or a room’s stream, has none and falls at the gravity of the ground the physics stands on.