← Packet index

Packet 40

SetActorMotionPacket

It is primarily relevant for client predicted entities like the player or a boat or horse they are in control of. For most other actor types it does nothing.<br> This is one of the packets that can directly affect player motion, for others, see:<br> - MovePlayerPacket<br> - CorrectPlayerMovePredictionPacket

Packet datagramWire order
HeaderID 40varuint
0Target Runtime IDActorRuntimeID · variable
1MotionVec3 · variable
2TickPlayerInputTick · variable

Serialized fields

3 top-level fields
  1. 0Target Runtime IDActorRuntimeID
    1. 0Actor Runtime IDCompressionvaruint64
  2. 1MotionVec3
  3. 2TickPlayerInputTick
    1. 0Input tickCompressionvaruint64

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.