From 15084cebd95e711fafe14f16bacc4e9e0d478c7e Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Tue, 23 Jan 2007 18:18:29 +0000 Subject: [PATCH] removed 4x speed multiplier for boats --- direct/src/controls/ShipPilot2.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/direct/src/controls/ShipPilot2.py b/direct/src/controls/ShipPilot2.py index 9f8bd4173c..cf9680b635 100755 --- a/direct/src/controls/ShipPilot2.py +++ b/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))