Changeset 5900 in orxonox.OLD for branches/spaceshipcontrol
- Timestamp:
- Dec 3, 2005, 5:48:25 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc
r5897 r5900 286 286 287 287 if( this->bUp ) 288 travelSpeed++; 288 { 289 if(velocity.len() == 0) 290 accel += ((this->getAbsDir()).getSpacialAxis().getNormalized()); 291 else 292 travelSpeed++; 293 } 294 289 295 if( this->bDown ) 296 { 297 if(velocity.len() == 0) 298 accel -= ((this->getAbsDir()).getSpacialAxis().getNormalized()); 299 else 290 300 travelSpeed--; 291 301 } 292 302 293 303 if( this->bLeft /* > -this->getRelCoor().z*2*/)
Note: See TracChangeset
for help on using the changeset viewer.