Panda3D
|
#include <pandadoc.hpp>
Public Types | |
enum | JointType { JT_none = 0 , JT_ball = 1 , JT_hinge = 2 , JT_slider = 3 , JT_contact = 4 , JT_universal = 5 , JT_hinge2 = 6 , JT_fixed = 7 , JT_null = 8 , JT_a_motor = 9 , JT_l_motor = 10 , JT_plane2d = 11 } |
Public Member Functions | |
attach (object body1, object body2) | |
attachBodies (const OdeBody body1, const OdeBody body2) | |
Attaches two OdeBody objects to this joint. More... | |
attachBody (const OdeBody body, int index) | |
Attaches a single OdeBody to this joint at the specified index (0 or 1). More... | |
int | compareTo (const OdeJoint other) |
object | convert () |
OdeAMotorJoint | convertToAMotor () |
OdeBallJoint | convertToBall () |
OdeContactJoint | convertToContact () |
OdeFixedJoint | convertToFixed () |
OdeHingeJoint | convertToHinge () |
OdeHinge2Joint | convertToHinge2 () |
OdeLMotorJoint | convertToLMotor () |
OdeNullJoint | convertToNull () |
OdePlane2dJoint | convertToPlane2d () |
OdeSliderJoint | convertToSlider () |
OdeUniversalJoint | convertToUniversal () |
destroy () | |
detach () | |
OdeBody | getBody (int index) |
OdeJointFeedback | getFeedback () |
DJointID | getId () |
Returns the underlying dJointID. More... | |
int | getJointType () |
bool | isEmpty () |
Returns true if the ID is 0, meaning the OdeJoint does not point to a valid joint. More... | |
bool | operator== (const OdeJoint other) |
setFeedback (bool flag) | |
setFeedback (OdeJointFeedback) | |
write (Ostream out, unsigned int indent) | |
![]() | |
TypeHandle | getType () |
int | getTypeIndex () |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More... | |
bool | isExactType (TypeHandle handle) |
Returns true if the current object is the indicated type exactly. More... | |
bool | isOfType (TypeHandle handle) |
Returns true if the current object is or derives from the indicated type. More... | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
![]() | |
static TypeHandle | getClassType () |
Additional Inherited Members | |
![]() | |
TypeHandle | type |
Returns the TypeHandle representing this object's type. More... | |
enum JointType |
attach | ( | object | body1, |
object | body2 | ||
) |
Attaches two OdeBody objects to this joint.
Order is important. Consider using the OdeJoint::attach extension function if you're using the Python interface.
attachBody | ( | const OdeBody | body, |
int | index | ||
) |
Attaches a single OdeBody to this joint at the specified index (0 or 1).
The other index will be set to the environment (null). Consider using the OdeJoint::attach extension function if you're using the Python interface.
int compareTo | ( | const OdeJoint | other | ) |
object convert | ( | ) |
OdeAMotorJoint convertToAMotor | ( | ) |
OdeBallJoint convertToBall | ( | ) |
OdeContactJoint convertToContact | ( | ) |
OdeFixedJoint convertToFixed | ( | ) |
OdeHingeJoint convertToHinge | ( | ) |
OdeHinge2Joint convertToHinge2 | ( | ) |
OdeLMotorJoint convertToLMotor | ( | ) |
OdeNullJoint convertToNull | ( | ) |
OdePlane2dJoint convertToPlane2d | ( | ) |
OdeSliderJoint convertToSlider | ( | ) |
OdeUniversalJoint convertToUniversal | ( | ) |
destroy | ( | ) |
detach | ( | ) |
OdeBody getBody | ( | int | index | ) |
|
static |
OdeJointFeedback getFeedback | ( | ) |
DJointID getId | ( | ) |
Returns the underlying dJointID.
int getJointType | ( | ) |
bool isEmpty | ( | ) |
bool operator== | ( | const OdeJoint | other | ) |
setFeedback | ( | bool | flag | ) |
setFeedback | ( | OdeJointFeedback | ) |
write | ( | Ostream | out, |
unsigned int | indent | ||
) |