Skip to content

Laying optimisation suggestion #13

@inxomnyaa

Description

@inxomnyaa

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()]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions