Browse Source

added per-zone collision traversers

Darren Ranalli 21 years ago
parent
commit
36ad3314b3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      direct/src/distributed/DistributedObjectAI.py

+ 3 - 0
direct/src/distributed/DistributedObjectAI.py

@@ -118,6 +118,9 @@ class DistributedObjectAI(DirectObject.DirectObject):
     def getParentMgr(self):
         return self.air.getParentMgr(self.zoneId)
 
+    def getCollTrav(self):
+        return self.air.getCollTrav(self.zoneId)
+
     def sendUpdate(self, fieldName, args = []):
         if self.air:
             self.air.sendUpdate(self, fieldName, args)