mirror of
https://github.com/ApfelTeeSaft/PlanetFleet.git
synced 2026-08-26 19:33:38 +00:00
using initial weapon dirs
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user