23 lines
580 B
Python
Executable File
23 lines
580 B
Python
Executable File
from extension_native_helpers import *
|
|
Dtool_PreloadDLL("libpanda")
|
|
from libpanda import *
|
|
|
|
####################################################################
|
|
#Dtool_funcToMethod(func, class)
|
|
#del func
|
|
#####################################################################
|
|
|
|
"""
|
|
OdeBody-extensions module: contains methods to extend functionality
|
|
of the OdeBody classe
|
|
"""
|
|
|
|
def getConvertedJoint(self, index):
|
|
"""
|
|
Return a downcast joint on this body.
|
|
"""
|
|
return self.getJoint(index).convert()
|
|
Dtool_funcToMethod(getConvertedJoint, OdeBody)
|
|
del getConvertedJoint
|
|
|