added activeFunc for active obj
This commit is contained in:
1 parent
943b6b4d21
commit
bc2997d86f
7 files changed
+97
-47
No files matched your search
@@ -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) {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user