EntityInit

interface EntityInit
simulation/src/entity.ts:88

Members

addressreadonly

address?: UniverseAddress | null

ballisticCoefficientreadonly

ballisticCoefficient?: number

characterreadonly

character?: CharacterState | null

controlreadonly

control?: ControlInput

Restored from a save; a fresh entity has neutral input, assist on and no epoch, and earns an epoch by coasting.

flightAssistreadonly

flightAssist?: boolean

framereadonly

frame?: FrameId

idreadonly

kindreadonly

massreadonly

mass?: number

namereadonly

name: string

railsreadonly

rails?: RailsEpoch | null

spawnedAtreadonly

spawnedAt?: number

statereadonly

state?: FrameState

thrustersreadonly

thrusters?: ThrusterProfile | null