Browse Source

removed 4x speed multiplier for boats

Darren Ranalli 19 years ago
parent
commit
15084cebd9
1 changed files with 5 additions and 5 deletions
  1. 5 5
      direct/src/controls/ShipPilot2.py

+ 5 - 5
direct/src/controls/ShipPilot2.py

@@ -648,10 +648,10 @@ class ShipPilot2(PhysicsWalker):
                 self.__rotationSpeed*=1.25
                 maxSpeed = self.ship.maxSpeed * 4.0
 
-        self.__speed*=4.0
-        self.__slideSpeed*=4.0
-        self.__rotationSpeed*=1.25
-        maxSpeed = self.ship.maxSpeed * 4.0
+        #self.__speed*=4.0
+        #self.__slideSpeed*=4.0
+        #self.__rotationSpeed*=1.25
+        #maxSpeed = self.ship.maxSpeed * 4.0
                 
         #*#
         self.currentTurning += self.__rotationSpeed
@@ -911,7 +911,7 @@ class ShipPilot2(PhysicsWalker):
             onScreenDebug.add("self.__oldPosDelta",
                               self.__oldPosDelta.pPrintValues())
 
-        velocity = self.__oldPosDelta*(1/self.__oldDt)*4.0 # *4.0 is a hack
+        velocity = self.__oldPosDelta*(1/self.__oldDt)#*4.0 # *4.0 is a hack
         assert self.debugPrint("  __oldPosDelta=%s"%(self.__oldPosDelta,))
         assert self.debugPrint("  velocity=%s"%(velocity,))
         self.priorParent.setVector(Vec3(velocity))