Changeset 6760 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Jan 26, 2006, 2:44:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r6759 r6760 143 143 controlVelocityX = 25; 144 144 controlVelocityY = 150; 145 shipInertia = 0.5 ;145 shipInertia = 1.5 ; 146 146 // cycle = 0.0; 147 147 … … 340 340 341 341 //orient the spaceship in direction of the mouse 342 rotQuat = Quaternion::quatSlerp( this->getAbsDir(), mouseDir, fabsf(time)*shipInertia);342 rotQuat = Quaternion::quatSlerp( this->getAbsDir(), mouseDir, 0.5);//fabsf(time)*shipInertia); 343 343 if (this->getAbsDir().distance(rotQuat) > 0.00000000000001) 344 344 this->setAbsDir( rotQuat);
Note: See TracChangeset
for help on using the changeset viewer.