Browse Source

added b_setXYZH

Samir Naik 20 years ago
parent
commit
fe3d571f82
1 changed files with 3 additions and 0 deletions
  1. 3 0
      direct/src/distributed/DistributedNodeAI.py

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

@@ -116,6 +116,9 @@ class DistributedNodeAI(DistributedObjectAI.DistributedObjectAI, NodePath):
     def d_setXYH(self, x, y, h):
         self.sendUpdate("setXYH", [x, y, h])
 
+    def b_setXYZH(self, x, y, z, h):
+        self.setXYZH(x,y,z,h)
+        self.d_setXYZH(x,y,z,h)
     def setXYZH(self, x, y, z, h):
         self.setPos(x, y, z)
         self.setH(h)