def __init__(self, scene_anchor):
        geom_result = GeomGenerator.get_foot_geom()
        Piece.__init__(self, "MotorHorn", scene_anchor, geom_result)

        foot = NodePath(geom_result.geom)
        foot.setPos(0, 0, 0)
        foot.reparentTo(self.content)
    def __init__(self, scene_anchor):
        geom_result = GeomGenerator.create_box()
        Piece.__init__(self, "MetalConnector", scene_anchor, geom_result)

        self.metal_stick = NodePath(geom_result.geom)
        self.metal_stick.setRenderModeWireframe()
        self.metal_stick.reparentTo(self.content)
        self.setPos(0, 0, 2)
        self.setColor(0, 0, 1)
        self.setScale(1, 1, 1)
    def __init__(self, scene_anchor):
        geom_result = GeomGenerator.create_box()
        Piece.__init__(self, "MotorBase", scene_anchor, geom_result)

        self.motor_block = NodePath(geom_result.geom)
        self.motor_block.setRenderModeWireframe()

        self.motor_block.reparentTo(self.content)
        self.motor_block.setPos(0, 0, 0)
        self.motor_block.setColor(1, 0, 0, 1)
        self.motor_block.setScale(1, 1, 1)
    def __init__(self, scene_anchor):
        geom_result = GeomGenerator.create_box()
        Piece.__init__(self, "MotorHorn", scene_anchor, geom_result)

        self.motor_limits = [-60, 60]
        self.motor_speed = 5
        self.direction = 1

        self.motor_horn = NodePath(geom_result.geom)
        self.motor_horn.setRenderModeWireframe()

        self.motor_horn.setColor(0, 1, 0)
        self.motor_horn.reparentTo(self.content)