mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
storing object location even if parant or zone is not changing
This commit is contained in:
parent
8a16f49391
commit
383cfb4704
@ -167,8 +167,8 @@ class DistributedObjectAI(DirectObject.DirectObject):
|
|||||||
lastLogicalZone = self.lastNonQuietZone
|
lastLogicalZone = self.lastNonQuietZone
|
||||||
self.handleLogicalZoneChange(zoneId, lastLogicalZone)
|
self.handleLogicalZoneChange(zoneId, lastLogicalZone)
|
||||||
self.lastNonQuietZone = zoneId
|
self.lastNonQuietZone = zoneId
|
||||||
self.air.storeObjectLocation(self.doId, parentId, zoneId)
|
self.air.storeObjectLocation(self.doId, parentId, zoneId)
|
||||||
self.__location = (parentId, zoneId)
|
self.__location = (parentId, zoneId)
|
||||||
|
|
||||||
# Set the initial values of parentId,zoneId
|
# Set the initial values of parentId,zoneId
|
||||||
def setInitLocation(self, parentId, zoneId):
|
def setInitLocation(self, parentId, zoneId):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user