more rotation friction

This commit is contained in:
Darren Ranalli 2005-07-19 22:27:50 +00:00
parent 969ca0205b
commit f882f5a715

View File

@ -662,7 +662,13 @@ class ShipPilot(PhysicsWalker.PhysicsWalker):
self.currentTurning = self.ship.maxTurn
elif self.currentTurning < -self.ship.maxTurn:
self.currentTurning = -self.ship.maxTurn
self.currentTurning *= 0.9
if turnLeft or turnRight:
mult = .9
elif forward or reverse:
mult = .82
else:
mult = .8
self.currentTurning *= mult
self.__rotationSpeed = self.currentTurning