예제 #1
0
 def startNearEffect(self):
     if self.muted:
         return
     if not self.nearEffect:
         self.nearEffect = RayOfLight()
         self.nearEffect.setBottomRayEnabled(self.wantBottomEffect)
         self.nearEffect.reparentTo(self)
         self.nearEffect.startLoop()
 def startNearEffect(self):
     if self.muted:
         return
     if not self.nearEffect:
         self.nearEffect = RayOfLight()
         self.nearEffect.setBottomRayEnabled(self.wantBottomEffect)
         self.nearEffect.setPos(Point3(0, 5, 0))
         self.nearEffect.startLoop()
     if self.stepObj:
         self.nearEffect.reparentTo(self.stepObj)