def generate(self): DistributedSmoothNode.generate(self) self.activateSmoothing(True, False) self.startSmooth() self.accept("showAvId", self.__showAvId) self.accept("showName", self.__showName)
def generate(self): DistributedSmoothNode.generate(self) self.name = self.uniqueName('projectile') self.posHprBroadcastName = self.uniqueName('projectileBroadcast') geom = loader.loadModel('models/smiley') self.geom = geom self.geom.reparentTo(self) self.startSmooth() self.reparentTo(render)
def generate(self): DistributedSmoothNode.generate(self) self.name = self.uniqueName('projectile') self.posHprBroadcastName = self.uniqueName('projectileBroadcast') geom = loader.loadModel('models/smiley') self.geom = geom self.geom.reparentTo(self) self.startSmooth() self.reparentTo(render)
def generate(self): """ This method is called when the object is generated: when it manifests for the first time on a particular client, or when it is pulled out of the cache after a previous manifestation. At the time of this call, the object has been created, but its required fields have not yet been filled in. """ # Always call up to parent class DistributedSmoothNode.generate(self) self.setPythonTag('avId', self.doId)
def generate(self): DistributedSmoothNode.generate(self) self.name = self.uniqueName('projectile') self.posHprBroadcastName = self.uniqueName('projectileBroadcast') geom = loader.loadModel("models/smiley") self.geom = geom self.geom.reparentTo(self) self.startSmooth() #self.__enableCollisions() ########################################################### # Add the kart to the scene self.reparentTo(render)
def generate(self): """ This method is called when the object is generated: when it manifests for the first time on a particular client, or when it is pulled out of the cache after a previous manifestation. At the time of this call, the object has been created, but its required fields have not yet been filled in. """ # Always call up to parent class DistributedSmoothNode.generate(self) # We can activate smoothing on this avatar as soon as it's # generated. self.activateSmoothing(True, False) # We also need to start the smooth task, which computes the # new smoothed position every frame. Let's keep this task # running as long as the avatar is generated. self.startSmooth()
def generate(self): DistributedSmoothNode.generate(self) self.activateSmoothing(True, False) self.startSmooth()
def generate(self): DistributedAvatar.generate(self) DistributedSmoothNode.generate(self)
def generate(self): DistributedSmoothNode.generate(self) DistributedTargetableObject.generate(self) if base.config.GetBool('create-client-coll-spheres', 0) is 1: self.setupDebugCollisions()
def generate(self): DistributedAvatar.generate(self) DistributedSmoothNode.generate(self) self.startSmooth()
def generate(self): DistributedSmoothNode.generate(self) self.activateSmoothing(True, False) self.startSmooth()
def generate(self): DistributedSmoothNode.generate(self) self.activateSmoothing(True, False) self.startSmooth() self.accept('showAvId', self.__showAvId) self.accept('showName', self.__showName)