Changeset 10256 in orxonox.OLD for branches/playability/src/world_entities/projectiles/spike_ball.cc
- Timestamp:
- Jan 17, 2007, 2:20:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/spike_ball.cc
r10252 r10256 55 55 this->emitter->setEmissionVelocity(50.0); 56 56 57 this->speed = 150;58 57 // this->speed = 150; 58 /* 59 59 this->angle = 0; 60 this->rotationSpeed = 130; 60 this->rotationSpeed = 130;*/ 61 this->setRotationSpeed(130); 61 62 62 63 this->halo = new Billboard(); … … 255 256 // printf("called by spikeball "); 256 257 // this->weaponMan->fire(); 257 //this->blow();258 this->blow(); 258 259 } 259 260 … … 289 290 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 290 291 291 glRotatef(angle, this-> rotationVector.x, this->rotationVector.y, this->rotationVector.z);292 glRotatef(angle, this->getRotationAxis().x, this->getRotationAxis().y, this->getRotationAxis().z); 292 293 this->getAbsDir().matrix (matrix); 293 294 glMultMatrixf((float*)matrix);
Note: See TracChangeset
for help on using the changeset viewer.