From db9454cb632a3ba0b39018513b0d5bd444c8ffd3 Mon Sep 17 00:00:00 2001 From: cursed22bc Date: Tue, 10 Mar 2026 18:46:03 +0200 Subject: new player animations --- entity.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'entity.lua') diff --git a/entity.lua b/entity.lua index c85dc71..6c922aa 100644 --- a/entity.lua +++ b/entity.lua @@ -35,8 +35,8 @@ end function Entity:syncFromPhysicsBody() if not self.body then return end - self.x = self.body:getX() - self.physicsWidth - self.y = self.body:getY() - self.height + self.physicsHeight / 2 + self.x = self.body:getX() - self.physicsWidth / 2 + self.y = self.body:getY() - self.physicsHeight / 2 end function getEntityCorners(entity) -- cgit v1.2.3