From 2fb89f87cd54e6c3d47213222a88c4e4c0c7d230 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Sat, 11 Mar 2006 05:06:16 +0000 Subject: [PATCH] ship sphere init --- direct/src/controls/ShipPilot2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/src/controls/ShipPilot2.py b/direct/src/controls/ShipPilot2.py index b6959ecd95..61f6de97da 100755 --- a/direct/src/controls/ShipPilot2.py +++ b/direct/src/controls/ShipPilot2.py @@ -283,7 +283,7 @@ class ShipPilot2(PhysicsWalker): def initializeCollisions(self, collisionTraverser, avatarRadius = 1.4, floorOffset = 1.0, reach = 1.0, - width = 3.0, length = 5.0, height = 2.5): + width = 30.0, length = 105.0, height = 45.0): """ width is feet from port to starboard. length is feet from aft to bow. @@ -297,8 +297,8 @@ class ShipPilot2(PhysicsWalker): self.floorOffset = floorOffset self.reach = reach if self.useBowSternSpheres: - self.frontSphereOffset = frontSphereOffset - self.backSphereOffset = backSphereOffset + self.frontSphereOffset = length * 0.3 + self.backSphereOffset = -length * 0.7 self.width = width self.length = length self.height = height