headYaw rot changes

This commit is contained in:
GameHerobrine 2023-02-23 00:41:01 +03:00
parent 1b0366802f
commit 447638816e
5 changed files with 26 additions and 16 deletions

View file

@ -24,7 +24,7 @@ class RotateHeadPacket extends RakNetDataPacket{
$this->putInt(count($this->entities));
foreach($this->entities as $d){
$this->putInt($d[0]); //eid
$this->putByte((int) ($d[1] / 360 / 0.0039062));
$this->putByte((int) ($d[1] / 360 / 0.0039062)); //wraps 360 angle to 0xff
}
}