diff --git a/direct/src/distributed/DistributedNodeAI.py b/direct/src/distributed/DistributedNodeAI.py index 73fdcd268f..7461dc89e2 100644 --- a/direct/src/distributed/DistributedNodeAI.py +++ b/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])