From 600749f60032d715e370540713a26fe5059d8dd5 Mon Sep 17 00:00:00 2001 From: tyanmahou Date: Mon, 16 Dec 2024 23:39:17 +0900 Subject: [PATCH] update --- Re-Abyss/app/datastores/Actor/Enemy/parser/TmxEnemyParser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Re-Abyss/app/datastores/Actor/Enemy/parser/TmxEnemyParser.cpp b/Re-Abyss/app/datastores/Actor/Enemy/parser/TmxEnemyParser.cpp index 1c47ffc4..6dcafd9b 100644 --- a/Re-Abyss/app/datastores/Actor/Enemy/parser/TmxEnemyParser.cpp +++ b/Re-Abyss/app/datastores/Actor/Enemy/parser/TmxEnemyParser.cpp @@ -67,6 +67,7 @@ namespace Vec2 size = obj.toRectF().size; RectF rect{ obj.pos + Vec2{0, -size.y}, size}; it->pos = rect.center().rotatedAt(rect.bl(), s3d::ToRadians(obj.rotation)); + it->footPos = rect.bottomCenter().rotatedAt(rect.bl(), s3d::ToRadians(obj.rotation)); it->isFixBazooka = obj.getProperty(U"fix_bazooka").value_or(false); it->bazookaRotate = obj.getProperty(U"bazooka_rotate").value_or(0.0); return it;