minor fixing, adapting for mobile web

This commit is contained in:
Vladislav Khorev committed 2026-04-25 14:39:27 +03:00
1 parent 44cc0fba67
commit eac914e073
6 files changed
+393 -129

No files matched your search

+5
View File
@@ -112,6 +112,11 @@ public:
float attack_cooldown = 0.f;
bool canAttack = false;
Character* attackTarget = nullptr;
// While standing still, smoothly rotate once to face this character.
// Auto-cleared by update() the moment this character finishes rotating,
// so it acts as a one-shot orient (e.g. an NPC turning to the player at
// the start of a conversation, then holding that pose).
Character* faceTarget = nullptr;
bool isPlayer = false;
bool useGpuSkinning = true;
//bool useGpuSkinning = false;