Agent: implement movement, camera, teleport, and multi-simulator state #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Implement AgentMovement, camera/control flags, locomotion commands, sitting/flying/jumping, auto-pilot, teleport progress, and multi-simulator state.
Deliverables
Validation
Prerequisite
Networking/client lifecycle and all foundational implementation milestones are complete; mapped APIs and translated tests are fixed.
Project constraints
Implemented and pushed in commit
0791e0a.Native Rust implementation now covers all 32 movement controls and reset semantics, camera/CoordinateFrame math and axis mapping, AgentUpdate cadence/duplicate suppression/current-simulator routing, locomotion/sit/always-run/FOV/autopilot LLUDP packets, UDP and CAPS teleport progress with cancellation-safe waiters, and the bounded region-crossing recovery state machine. Multi-simulator presence, border prediction, child-agent bookkeeping, and cross-simulator object visibility are implemented as well. Update and crossing workers use weak ownership, condition-variable wakeups, explicit cancellation, and joined handles.
Validation completed:
Compatibility and lifecycle details are documented in docs/agent-movement.md and summarized in README.md.