Intent

interface Intent

Control input, batched, addressed to whoever else needs to see it.

The wire form of a control input rather than the physics one, so this package does not depend on physics and a message needs no conversion to send. It is the same shape SaveEntity.control already uses, and the same triple (tick, entity, control) that the input log for replay would record — which is why docs/roadmap.md lists replay as multiplayer work brought forward rather than a separate feature.

authority.ts:85

Members

controlreadonly

control: { rotation: WireVec3; translation: WireVec3 }

entityreadonly

entity: EntityId

flightAssistreadonly

flightAssist: boolean

tickreadonly

tick: number