def setupPistol(self):
     self.pistol = globalPropPool.getProp('water-gun')
     hands = self.toon.getRightHands()
     self.hand_jointpath0 = hands[0].attachNewNode('handJoint0-path')
     pistolPos = Point3(0.28, 0.1, 0.08)
     pistolHpr = VBase3(85.6, -4.44, 94.43)
     MovieUtil.showProp(self.pistol, self.hand_jointpath0, pistolPos, pistolHpr)
Exemple #2
0
 def setupPistol(self):
     self.pistol = globalPropPool.getProp('water-gun')
     hands = self.toon.getRightHands()
     self.hand_jointpath0 = hands[0].attachNewNode('handJoint0-path')
     pistolPos = Point3(0.28, 0.1, 0.08)
     pistolHpr = VBase3(85.6, -4.44, 94.43)
     MovieUtil.showProp(self.pistol, self.hand_jointpath0, pistolPos,
                        pistolHpr)