Changeset 6029 in orxonox.OLD for branches/spaceshipcontrol/src
- Timestamp:
- Dec 10, 2005, 10:37:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc
r6028 r6029 272 272 //orient the spaceship model in the direction of movement. 273 273 travelSpeed = velocity.len(); 274 velocity += ( this->getAbsDirX())*10;274 velocity += ((this->getAbsDirX())*travelSpeed-velocity); 275 275 velocity = (velocity.getNormalized())*travelSpeed; 276 276
Note: See TracChangeset
for help on using the changeset viewer.