OverviewPacketsCorrectPlayerMovePrediction
ID 0xA1 · 161Server → ClientMovement
CorrectPlayerMovePrediction
Used only in server authoritative movement mode, see ServerAuthMovementMode documentation.<br> Since it is sent to the specified client the target player is implied to be the receiver.<br> It is an optional part of the server authoritative protocol. A server could choose to never send this or do all corrections through MovePlayerPacket, although doing so would likely provide less smooth results.
correct-player-move-prediction.bin
struct CorrectPlayerMovePrediction {
RewindType PredictionType;
Vec3 Pos;
Vec3 PosDelta;
Vec2 VehicleRotation;
optional byte + float32 VehicleAngularVelocity;
bool OnGround;
PlayerInputTick Tick;
}Structure
| Field | Type | Description |
|---|---|---|
| Prediction Type | RewindType | |
| Pos | Vec3 | |
| Pos Delta | Vec3 | |
| Vehicle Rotation | Vec2 | |
| Vehicle Angular Velocity | optional byte + float32 | Presence flag on the wire; value omitted when absent. |
| On Ground | bool | |
| Tick | PlayerInputTick |
Structure of Vec3
| Field | Type | Description |
|---|---|---|
| X | float32 (LE) | |
| Y | float32 (LE) | |
| Z | float32 (LE) |
Structure of Vec2
| Field | Type | Description |
|---|---|---|
| X | float32 (LE) | |
| Y | float32 (LE) |
Notes
- No special notes.
