Changeset 5901 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/space_ships
- Timestamp:
- Dec 3, 2005, 7:23:37 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc
r5900 r5901 256 256 Vector move = (velocity)*time; 257 257 258 if( velocity.len() != 0 )258 /*if( velocity.len() != 0 ) 259 259 { 260 260 this->setAbsDir(Quaternion(velocity, Vector(0,1,0)) * Quaternion ( -M_PI_2, Vector(0,1,0))); 261 261 } 262 262 */ 263 263 this->shiftCoor (move); 264 264 … … 289 289 if(velocity.len() == 0) 290 290 accel += ((this->getAbsDir()).getSpacialAxis().getNormalized()); 291 else292 travelSpeed++;291 //else 292 //travelSpeed++; 293 293 } 294 294 … … 297 297 if(velocity.len() == 0) 298 298 accel -= ((this->getAbsDir()).getSpacialAxis().getNormalized()); 299 else300 travelSpeed--;299 // else 300 //travelSpeed--; 301 301 } 302 302
Note: See TracChangeset
for help on using the changeset viewer.