Browse Source

Simple ships can now be deployed, steered, and docked by the player.

Justin Butler 16 years ago
parent
commit
22ecb56db2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/controls/ShipPilot.py

+ 1 - 1
direct/src/controls/ShipPilot.py

@@ -180,7 +180,7 @@ class ShipPilot(PhysicsWalker):
         assert self.debugPrint("collisionsActive(active=%s)"%(active,))
         if self.collisionsActive != active:
             self.collisionsActive = active
-            shipCollWall = self.shipNodePath.find("**/collision_hull;+s")
+            shipCollWall = self.shipNodePath.getWallCollisions()
             if active:
                 self.cNodePath.node().setFromCollideMask(self.wallBitmask)
                 self.cNodePath.node().setIntoCollideMask(BitMask32.allOff())