mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
go to new zone if moved
This commit is contained in:
parent
5ef47ae9f6
commit
03795f447a
@ -30,3 +30,10 @@ class DistributedEntityAI(DistributedObjectAI.DistributedObjectAI,
|
||||
|
||||
def getEntId(self):
|
||||
return self.entId
|
||||
|
||||
if __debug__:
|
||||
def setParentEntId(self, parentEntId):
|
||||
self.parentEntId = parentEntId
|
||||
# switch to new zone
|
||||
newZoneId = self.getZoneEntity().getZoneId()
|
||||
self.sendSetZone(newZoneId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user