Changeset 10002 in orxonox.OLD for branches/playability
- Timestamp:
 - Dec 3, 2006, 8:04:38 PM (19 years ago)
 - File:
 - 
          
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
branches/playability/src/world_entities/projectiles/hbolt.cc
r10001 r10002 46 46 47 47 this->angle = 0; 48 this->rotationSpeed = .3;48 this->rotationSpeed = 3; 49 49 this->axis = Vector (0, 0, -1); 50 50 … … 137 137 138 138 //float w = this->rotationSpeed * M_PI; 139 Quaternion rotation(this->rotationSpeed * dt, this->axis);140 Quaternion u = this->getRelDir();141 this->setRelDir(u * rotation);139 //Quaternion rotation(this->rotationSpeed * dt, this->axis); 140 //Quaternion u = this->getRelDir(); 141 //this->setRelDir(u * rotation); 142 142 143 143 this->updateAngle(dt);  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






