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

TrackScatterPlacement

A placed copy: an instanced model’s placement, and which model.

Property Type Description Overrides
model string - -
position Position The point the model’s lowest point stands on, however the copy is turned: x and z place the file’s origin, and y the lowest corner of its hull, or of its box where its manifest kept no hull. InstancePlacement.position
rotation? RotationInput The copy’s own rotation before its turn, as an Entity’s rotation takes it: Euler angles in radians, or a unit quaternion, such as [0, 0, Math.PI] for a boat keel up. Left out, upright. Unity’s and Godot’s transforms and Unreal’s rotator all give an instance a full rotation; turn stays beside it for the yaw. -
scale? number | Position A multiple of the model’s own size, one for every axis or one each. -
tint? ColorRepresentation - -
turn? number Radians about y, after rotation: a yaw alone, the common case, goes here, and a scatter hashes it. -