Пример #1
0
 def fit(self, node):
   Base.fit(self, node)
   
   self.geometry = panda.CollisionTube(panda.Point3(*self.a),
     panda.Point3(*self.b), self.radius)
Пример #2
0
  def fit(self, node):
    Base.fit(self, node)

    self.geometry = panda.OdeCappedCylinderGeom(node.world.space,
      self.globalRadius, self.globalHeight)