Changeset 11597 for code/branches/SOBv2_HS17/src
- Timestamp:
- Nov 27, 2017, 2:21:11 PM (7 years ago)
- Location:
- code/branches/SOBv2_HS17/src/modules/superorxobros
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBFigure.cc
r11592 r11597 160 160 161 161 else if (fireball != nullptr && !(fireball->hasCollided_)){ 162 //this-> die(); 162 PowerUpCounter_--; 163 this->changeClothes(); 163 164 } 164 165 -
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBFireball.cc
r11577 r11597 165 165 velocity.x = dir*speed_; 166 166 velocity.y = 0; 167 if(hitCounter_ >= 3) velocity.y = 50;167 if(hitCounter_ >= 3) velocity.y = 0.1*speed_; 168 168 setVelocity(velocity); 169 169 -
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBQBlock.cc
r11591 r11597 65 65 float v_z = otherObject->getVelocity().z; 66 66 int collDisZ_ = getPosition().z - contactPoint.getPositionWorldOnB().getZ(); 67 orxout() << "Distanz in z: " << collDisZ_ << endl;68 67 if (!used_ && v_z > 50.0 && collDisZ_ > 0) { 69 68 used_ = true;
Note: See TracChangeset
for help on using the changeset viewer.