Browse Source

got ship to stop moving for black pearl sequence

Darren Ranalli 18 years ago
parent
commit
280013a555
1 changed files with 3 additions and 0 deletions
  1. 3 0
      direct/src/distributed/DistributedNodeAI.py

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

@@ -133,5 +133,8 @@ class DistributedNodeAI(DistributedObjectAI.DistributedObjectAI, NodePath):
         self.sendUpdate("setXYZH", [x, y, z, h])
 
     # setPosHpr provided by NodePath
+    def b_setPosHpr(self, x, y, z, h, p, r):
+        self.setPosHpr(x, y, z, h, p, r)
+        self.d_setPosHpr(x, y, z, h, p, r)
     def d_setPosHpr(self, x, y, z, h, p, r):
         self.sendUpdate("setPosHpr", [x, y, z, h, p, r])