OverviewPacketsMovePlayer
ID 0x13 · 19BothMovement
MovePlayer
Teleports or hard-sets a player's position. With server-authoritative movement the client only sends it to acknowledge teleports; regular movement rides on PlayerAuthInput.
move-player.bin
struct MovePlayer {
ActorRuntimeID PlayerId;
Vec3 Pos;
Vec2 Rot;
float32 (LE) YHeadRot;
PlayerPositionModeComponent.PositionMode ResetPosition;
bool OnGround;
ActorRuntimeID RidingId;
optional byte + MovePlayerTeleportData TeleportData;
PlayerInputTick Tick;
}Structure
| Field | Type | Description |
|---|---|---|
| Player Id | ActorRuntimeID | |
| Pos | Vec3 | |
| Rot | Vec2 | |
| Y Head Rot | float32 (LE) | |
| Reset Position | PlayerPositionModeComponent.PositionMode | |
| On Ground | bool | |
| Riding Id | ActorRuntimeID | |
| Teleport Data | optional byte + MovePlayerTeleportData | Presence flag on the wire; value omitted when absent. |
| 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) |
Structure of MovePlayerTeleportData
| Field | Type | Description |
|---|---|---|
| Cause | int32 (LE) | |
| Source Entity Type | int32 (LE) |
Reset Position values
0 Normal
1 Reset
2 Teleport
3 Pitch
Notes
- Reset Position selects the mode: normal, reset (respawn), teleport or pitch-only rotation.
- Teleport Data (presence byte + cause/source/tick) is only written for teleport mode.
- Riding Id is the vehicle runtime ID when the player is a passenger.
