SimpleLay icon indicating copy to clipboard operation
SimpleLay copied to clipboard

Laying optimisation suggestion

Open inxomnyaa opened this issue 2 years ago • 5 comments

By using the bed sleeping mechanic, you can not rotate the model, and sometimes it gets offset.

I suggest using the AnimateEntityPacket with the "sleeping" animation

$animation = 'animation.player.sleeping';
$animpk = AnimateEntityPacket::create($animation, "", "", "", 0, [$e->getId()]);

inxomnyaa avatar Sep 09 '21 12:09 inxomnyaa