Changeset 5919 in orxonox.OLD for branches/spaceshipcontrol
- Timestamp:
- Dec 4, 2005, 9:54:44 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc
r5918 r5919 259 259 //orient the spaceship model in the direction of movement. 260 260 261 if(velocity.len() != 0) velocity -= velocity*0.0005; 261 // this is the air friction (necessary for a smooth control) 262 if(velocity.len() != 0) velocity -= velocity*0.005; 262 263 263 264 this->shiftCoor (move);
Note: See TracChangeset
for help on using the changeset viewer.