- Timestamp:
- May 22, 2018, 1:04:40 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/PacmanGelb.h
r11978 r11979 59 59 60 60 // This function call adds a lift to the ship when it is rotating to make it's movement more "realistic" and enhance the feeling. 61 if (this->getLocalVelocity().z < 0 && std::abs(this->getLocalVelocity().z) < stallSpeed_)62 this->moveRightLeft(-lift_ / 5.0f * value * sqrt(std::abs(this->getLocalVelocity().y)));61 //if (this->getLocalVelocity().z < 0 && std::abs(this->getLocalVelocity().z) < stallSpeed_) 62 //this->moveRightLeft(-lift_ / 5.0f * value * sqrt(std::abs(this->getLocalVelocity().y))); 63 63 }; 64 64 virtual void rotatePitch(const Vector2& value) override{};
Note: See TracChangeset
for help on using the changeset viewer.