- Timestamp:
- Nov 20, 2017, 4:05:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBFigure.cc
r11575 r11577 39 39 #include "graphics/Camera.h" 40 40 #include "graphics/ParticleSpawner.h" 41 #include <OgreMath.h> 41 42 42 43 #include "SOBMushroom.h" … … 156 157 157 158 else if (fireball != nullptr && !(fireball->hasCollided_)){ 158 this-> die();159 //this-> die(); 159 160 } 160 161 … … 197 198 ball->addTemplate("fireball"); 198 199 ball->setPosition(spawnpos); 199 200 bool direction = ((this->getWorldOrientation().getRoll().valueRadians())>-1.6&&(this->getWorldOrientation().getRoll().valueRadians()<1.6)); 201 ball->setDirection(direction); 202 orxout() << "Rotation: " << this->getWorldOrientation().getRoll() << " direction: "<< direction <<endl; 203 //ball-> 204 200 205 } 201 206 }
Note: See TracChangeset
for help on using the changeset viewer.