From 304f29a4e24c5448eb8f1bd93add9cea2aaaea24 Mon Sep 17 00:00:00 2001 From: Zachary Pavlov Date: Mon, 22 Jan 2007 22:29:07 +0000 Subject: [PATCH] shippilot2 is safe with new ships --- 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 1209ea88ad..9f8bd4173c 100755 --- a/direct/src/controls/ShipPilot2.py +++ b/direct/src/controls/ShipPilot2.py @@ -238,7 +238,7 @@ class ShipPilot2(PhysicsWalker): # hide other things on my ship that these spheres might collide # with and which I dont need anyways... - shipCollWall = self.avatarNodePath.hull.find("**/collision_hull") + shipCollWall = self.avatarNodePath.transNode.find("**/collision_hull") if not shipCollWall.isEmpty(): shipCollWall.stash() elif self.useOneSphere: @@ -262,7 +262,7 @@ class ShipPilot2(PhysicsWalker): # hide other things on my ship that these spheres might collide # with and which I dont need anyways... - shipCollWall = self.avatarNodePath.hull.find("**/collision_hull") + shipCollWall = self.avatarNodePath.transNode.find("**/collision_hull") if not shipCollWall.isEmpty(): shipCollWall.stash() elif self.useDSSolid: @@ -287,7 +287,7 @@ class ShipPilot2(PhysicsWalker): # hide other things on my ship that these spheres might collide # with and which I dont need anyways... - shipCollWall = self.avatarNodePath.hull.find("**/collision_hull") + shipCollWall = self.avatarNodePath.transNode.find("**/collision_hull") if not shipCollWall.isEmpty(): shipCollWall.stash()