mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
added setXZ
This commit is contained in:
parent
a1e2af96b0
commit
dda906ce1c
@ -114,6 +114,12 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath.NodePath):
|
||||
def d_setXY(self, x, y):
|
||||
self.sendUpdate("setXY", [x, y])
|
||||
|
||||
def setXZ(self, x, z):
|
||||
self.setX(x)
|
||||
self.setZ(z)
|
||||
def d_setXZ(self, x, z):
|
||||
self.sendUpdate("setXZ", [x, z])
|
||||
|
||||
# setPos provided by NodePath
|
||||
def d_setPos(self, x, y, z):
|
||||
self.sendUpdate("setPos", [x, y, z])
|
||||
|
Loading…
x
Reference in New Issue
Block a user