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

PlacementDescription

Where an instance stands: a scattered one as the map’s seed placed it, an InstancedModel’s copy as the game’s code did.

Property Type Description
family? ScatterFamily A scattered instance’s family and its Landscape’s map, which the editor’s Make editable writes a prop into.
height number Metres tall.
kind string The scatter’s kind, or the InstancedModel’s model.
map? string -
position [number, number, number] Its foot on the ground: x, the ground’s height there, z.
prop? string The map’s prop a scattered instance stands for, where it is one rather than the seed’s.
rotation? [number, number, number, number] An InstancedModel’s copy’s whole rotation, as a quaternion’s x, y, z and w, where its placement has a rotation: the yaw and the tilt alone cannot say which way a leaning copy leans.
tilt number Degrees it leans, after the yaw: for an InstancedModel’s copy, the angle from world up to its own, 180 for a boat keel up.
yaw number Degrees it is turned about y: for an InstancedModel’s copy, where its file’s front, +z, points on the ground.