Expand description
Travelers — the people sharing a world, and where they are now.
The client half of presence-wire-v0.1: a transport feeds
timestamped PoseSamples in per the presence-wire spec; this interpolates
each traveler ~100 ms in the past (lerp position, slerp rotation, extrapolate
with velocity across gaps) and produces [EntityInstance]s for any renderer.
Coordinate frame matches the manifest: right-handed, +Y up, metres, rotation
as a unit quaternion.
Structs§
- Instance
- One traveler, ready to draw: a world transform and a tint.
- Pose
Sample - One sampled pose of a traveler.
t_msis a monotonic local arrival time — the transport stamps it on receipt so interpolation shares one clock. - Presence
State - All travelers currently present in the world.
- Traveler
- A remote traveler: identity + a short history of poses to interpolate.
- Traveler
Pose - One traveler’s render-ready pose this frame: interpolated transform, look, portable body (0 = placeholder), and horizontal speed (drives walk vs idle).