added activeFunc for active obj

This commit is contained in:
Vlad committed 2026-04-11 16:18:59 +06:00
1 parent 943b6b4d21
commit bc2997d86f
7 files changed
+97 -47

No files matched your search

+11
View File
@@ -20,6 +20,17 @@ namespace ZL {
VertexRenderStruct mesh;
Item dropItem;
bool isActive = true;
bool isNpc = false;
std::string npcInteractCallback;
float walkSpeed = 1.5f;
float rotationSpeed = 8.0f;
float modelScale = 0.01f;
std::string animationIdlePath;
std::string animationWalkPath;
std::string texturePath;
std::string activateFunctionName;
InteractiveObject() : interactionRadius(2.0f) {}