def __init__(self, *args, **kwargs):
        BulletRigidBodyNode.__init__(self, *args, **kwargs)

        # Remove the shapes connection as this is built from the input
        # NodePath.
        #self.attributes.
        cnnctn = self.FindProperty('shapes')
        self.attributes.remove(cnnctn)
    def __init__(self, *args, **kwargs):
        BulletRigidBodyNode.__init__(self, *args, **kwargs)

        # Remove the shapes connection as this is built from the input
        # NodePath.
        # self.attributes.
        cnnctn = self.FindProperty("shapes")
        self.attributes.remove(cnnctn)
Ejemplo n.º 3
0
 def __init__( self, *args, **kwargs ):
     GameBulletRigidBodyNode.__init__( self, *args, **kwargs )
     
     i = self.attributes.index( self.FindProperty( 'shapes' ) )
     self.AddAttributes( Attr( 'Num Shapes', int, BRBN.getNumShapes, w=False ), index=i )
     self.AddAttributes( Attr( 'Debug Enabled', bool, BRBN.isDebugEnabled, BRBN.setDebugEnabled, w=False ) )
Ejemplo n.º 4
0
 def __init__( self, *args, **kwargs ):
     GameBulletRigidBodyNode.__init__( self, *args, **kwargs )
     
     i = self.attributes.index( self.FindProperty( 'shapes' ) )
     self.AddAttributes( Attr( 'Num Shapes', int, BRBN.getNumShapes, w=False ), index=i )
     self.AddAttributes( Attr( 'Debug Enabled', bool, BRBN.isDebugEnabled, BRBN.setDebugEnabled, w=False ) )