feat(moving platform): the object goes with its mover on the server

LWOPlatform moves its object with SetPosition and SetRotation ignoring the dirty flags (ProcessStateChange 0x00cce380), turned between the two waypoints' rotations, and live serialized a moving platform's mover data without its physics. The server's object stayed where it spawned, so anything that asks where a platform is (the lightning orbs' knockback of issue 1352, phantoms riding a platform) had the start of its path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-11-10 13:34:49 -06:00
parent 3112379387
commit c826db94f5
4 changed files with 68 additions and 0 deletions

View File

@@ -320,6 +320,8 @@ private:
// LWOPlatform::ProcessStateChange: index becomes the current waypoint (the next from the path's behavior and direction)
void MoverProcessStateChange(uint32_t index);
// Puts the object where the mover is, without a serialization of its physics
void MoveObject();
// LWOPlatform::SetWaitingTime: starts a wait of at least 0.1 s
void MoverSetWaitingTime(float waitTime, float idleTimeElapsed);
// LWOPlatform::ResumeTravelling: stopped between two waypoints it travels on; at a waypoint it first waits there