Added more scripts

This commit is contained in:
Vladislav Khorev committed 2026-04-03 20:06:33 +03:00
1 parent 63c9d7b35b
commit 403b93e7f5
5 files changed
+47 -13

No files matched your search

+2 -4
View File
@@ -183,12 +183,10 @@ namespace ZL
npc01->loadAnimation(AnimationState::WALK, "resources/w/default_walk001.txt", CONST_ZIP_FILE);
npc01->setTexture(defaultTexture);
npc01->walkSpeed = 1.5f;
npc01->rotationSpeed = 2.0f;
npc01->rotationSpeed = 8.0f;
npc01->modelScale = 0.01f;
npc01->modelCorrectionRotation = Eigen::Quaternionf(Eigen::AngleAxisf(M_PI, Eigen::Vector3f::UnitY()));
/*
Eigen::Quaternionf(Eigen::AngleAxisf(-M_PI * 0.5f, Eigen::Vector3f::UnitX())) *
Eigen::Quaternionf(Eigen::AngleAxisf(M_PI, Eigen::Vector3f::UnitZ()));*/
npc01->position = Eigen::Vector3f(0.f, 0.f, -45.f);
npc01->setTarget(npc01->position);
npcs.push_back(std::move(npc01));