using initial weapon dirs

This commit is contained in:
devZoGok
2026-01-02 17:24:28 +02:00
parent 86b5bf9731
commit c2f4feaa7d
2 changed files with 16 additions and 3 deletions
+2 -1
View File
@@ -23,6 +23,7 @@ namespace battleship{
struct Component{
vb01::Node *node = nullptr;
vb01::Vector3 initUnitSpaceDir;
float rotSpeed, angleConstr;
bool vertical;
@@ -53,7 +54,7 @@ namespace battleship{
vb01::s64 lastFireTime = 0;
FxManager::Fx *fireFx = nullptr;
vb01::Quaternion projRot;
vb01::Vector3 projPos;
vb01::Vector3 projPos, initUnitSpaceDir;
vb01::Node *projPar = nullptr;
static std::string LASER_FLAG;