Made the drive and flight manipulators more sensitive to de/acceleration

This commit is contained in:
Robert Osfield 2004-05-26 00:26:43 +00:00
parent 9236f6daa8
commit 205a6a105e
2 changed files with 4 additions and 4 deletions

View File

@ -434,7 +434,7 @@ bool DriveManipulator::calcMovement()
{
// pan model.
_velocity += dt*_modelScale*0.02;
_velocity += dt*_modelScale*0.01;
}
else if (buttonMask==GUIEventAdapter::MIDDLE_MOUSE_BUTTON ||
@ -447,7 +447,7 @@ bool DriveManipulator::calcMovement()
else if (buttonMask==GUIEventAdapter::RIGHT_MOUSE_BUTTON)
{
_velocity -= dt*_modelScale*0.02;
_velocity -= dt*_modelScale*0.01;
}
break;

View File

@ -237,7 +237,7 @@ bool FlightManipulator::calcMovement()
{
// pan model.
_velocity += dt*_modelScale*0.05f;
_velocity += dt*_modelScale*0.02f;
}
else if (buttonMask==GUIEventAdapter::MIDDLE_MOUSE_BUTTON ||
@ -250,7 +250,7 @@ bool FlightManipulator::calcMovement()
else if (buttonMask==GUIEventAdapter::RIGHT_MOUSE_BUTTON)
{
_velocity -= dt*_modelScale*0.05f;
_velocity -= dt*_modelScale*0.02f;
}