removed 4x speed multiplier for boats

This commit is contained in:
Darren Ranalli 2007-01-23 18:18:29 +00:00
parent e4c789b01d
commit 15084cebd9

View File

@ -648,10 +648,10 @@ class ShipPilot2(PhysicsWalker):
self.__rotationSpeed*=1.25 self.__rotationSpeed*=1.25
maxSpeed = self.ship.maxSpeed * 4.0 maxSpeed = self.ship.maxSpeed * 4.0
self.__speed*=4.0 #self.__speed*=4.0
self.__slideSpeed*=4.0 #self.__slideSpeed*=4.0
self.__rotationSpeed*=1.25 #self.__rotationSpeed*=1.25
maxSpeed = self.ship.maxSpeed * 4.0 #maxSpeed = self.ship.maxSpeed * 4.0
#*# #*#
self.currentTurning += self.__rotationSpeed self.currentTurning += self.__rotationSpeed
@ -911,7 +911,7 @@ class ShipPilot2(PhysicsWalker):
onScreenDebug.add("self.__oldPosDelta", onScreenDebug.add("self.__oldPosDelta",
self.__oldPosDelta.pPrintValues()) 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(" __oldPosDelta=%s"%(self.__oldPosDelta,))
assert self.debugPrint(" velocity=%s"%(velocity,)) assert self.debugPrint(" velocity=%s"%(velocity,))
self.priorParent.setVector(Vec3(velocity)) self.priorParent.setVector(Vec3(velocity))