Changeset 6734 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/space_ships
- Timestamp:
- Jan 25, 2006, 7:26:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc
r6724 r6734 140 140 controlVelocityX = 25; 141 141 controlVelocityY = 150; 142 shipInertia = 0.5 ;142 shipInertia = 1.5 ; 143 143 // cycle = 0.0; 144 144 … … 317 317 318 318 //orient the spaceship in direction of the mouse 319 rotQuat = Quaternion::quatSlerp( this->getAbsDir(), mouseDir, fabsf(time)*shipInertia);319 rotQuat = Quaternion::quatSlerp( this->getAbsDir(), mouseDir, 0.5);//fabsf(time)*shipInertia); 320 320 if (this->getAbsDir().distance(rotQuat) > 0.00000000000001) 321 321 this->setAbsDir( rotQuat);
Note: See TracChangeset
for help on using the changeset viewer.