From ae36ca00702656cbca05919134a30379dfb8cb6a Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Thu, 19 Aug 2004 22:23:41 +0000 Subject: [PATCH] no momentum for now --- direct/src/controls/ShipPilot.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/direct/src/controls/ShipPilot.py b/direct/src/controls/ShipPilot.py index 11dd6b91df..6206b863df 100755 --- a/direct/src/controls/ShipPilot.py +++ b/direct/src/controls/ShipPilot.py @@ -781,9 +781,10 @@ class ShipPilot(PhysicsWalker.PhysicsWalker): #rotMat=Mat3.rotateMatNormaxis(self.avatarNodePath.getH(), Vec3.up()) #speed=rotMat.xform(speed) - f = Vec3(self.__vel) - f.normalize() - self.momentumForce.setVector(Vec3(f*(speed.length()*0.9))) + # The momentumForce makes it feel like we are sliding on ice -- Joe + # f = Vec3(self.__vel) + # f.normalize() + # self.momentumForce.setVector(Vec3(f*(speed.length()*0.9))) if __debug__: