# OdeBallJoint

from pandac.PandaModules import OdeBallJoint

Class : OdeBallJoint
Description :

## Inheritance:

OdeBallJoint: OdeJoint
OdeJoint: TypedObject
TypedObject: MemoryBase
MemoryBase:

## Methods of OdeBallJoint:

OdeBallJoint (Constructor)
getAnchor
getAnchor2
getClassType
setAnchor
setAnchor2

## Methods of OdeJoint:

attachBodies
attachBody
compareTo
convertToAMotor
convertToBall
convertToContact
convertToFixed
convertToHinge
convertToHinge2
convertToLMotor
convertToNull
convertToPlane2d
convertToSlider
convertToUniversal
destroy
detach
getBody
getClassType
getJointType
isEmpty
operator ==
write

## Methods of TypedObject:

getClassType
getType
getTypeIndex
isExactType
isOfType

## Constants in OdeJoint:

JTNone | (JointType)
JTBall | (JointType)
JTHinge | (JointType)
JTSlider | (JointType)
JTContact | (JointType)
JTUniversal | (JointType)
JTHinge2 | (JointType)
JTFixed | (JointType)
JTNull | (JointType)
JTAMotor | (JointType)
JTLMotor | (JointType)
JTPlane2d | (JointType)

OdeBallJoint OdeBallJoint::OdeBallJoint(OdeWorld &world); Undocumented function.

getAnchor LVecBase3f OdeBallJoint::get_anchor(void) const; Undocumented function.

getAnchor2 LVecBase3f OdeBallJoint::get_anchor2(void) const; Undocumented function.

getClassType static TypeHandle OdeBallJoint::get_class_type(void); Undocumented function.

setAnchor void OdeBallJoint::set_anchor(float x, float y, float z); Undocumented function.

setAnchor2 void OdeBallJoint::set_anchor2(float x, float y, float z); Undocumented function.

attachBodies void OdeJoint::attach_bodies(OdeBody const &body1, OdeBody const &body2); Undocumented function.

attachBody void OdeJoint::attach_body(OdeBody const &body, int index); Undocumented function.

compareTo int OdeJoint::compare_to(OdeJoint const &other) const; Undocumented function.

convertToAMotor OdeAMotorJoint OdeJoint::convert_to_a_motor(void) const; Undocumented function.

convertToBall OdeBallJoint OdeJoint::convert_to_ball(void) const; Undocumented function.

convertToContact OdeContactJoint OdeJoint::convert_to_contact(void) const; Undocumented function.

convertToFixed OdeFixedJoint OdeJoint::convert_to_fixed(void) const; Undocumented function.

convertToHinge OdeHingeJoint OdeJoint::convert_to_hinge(void) const; Undocumented function.

convertToHinge2 OdeHinge2Joint OdeJoint::convert_to_hinge2(void) const; Undocumented function.

convertToLMotor OdeLMotorJoint OdeJoint::convert_to_l_motor(void) const; Undocumented function.

convertToNull OdeNullJoint OdeJoint::convert_to_null(void) const; Undocumented function.

convertToPlane2d OdePlane2dJoint OdeJoint::convert_to_plane2d(void) const; Undocumented function.

convertToSlider OdeSliderJoint OdeJoint::convert_to_slider(void) const; Undocumented function.

convertToUniversal OdeUniversalJoint OdeJoint::convert_to_universal(void) const; Undocumented function.

destroy void OdeJoint::destroy(void); Undocumented function.

detach void OdeJoint::detach(void); Undocumented function.

getBody OdeBody OdeJoint::get_body(int index) const; Undocumented function.

getClassType static TypeHandle OdeJoint::get_class_type(void); Undocumented function.

getJointType int OdeJoint::get_joint_type(void) const; * INLINE void *get_data(); */

isEmpty bool OdeJoint::is_empty(void) const; Description: Returns true if the ID is 0, meaning the OdeJoint does not point to a valid joint. It is an error to call a method on an empty joint. Note that an empty OdeJoint also evaluates to False.

operator == bool OdeJoint::operator ==(OdeJoint const &other) const; Undocumented function.

write virtual void OdeJoint::write(ostream &out = (cout), unsigned int indent = (0)) const; Undocumented function.

getClassType static TypeHandle TypedObject::get_class_type(void); Undocumented function.

getType virtual TypeHandle TypedObject::get_type(void) const = 0; Derived classes should override this function to return get_class_type().

getTypeIndex int TypedObject::get_type_index(void) const; Description: Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index().

isExactType bool TypedObject::is_exact_type(TypeHandle handle) const; Description: Returns true if the current object is the indicated type exactly.

isOfType bool TypedObject::is_of_type(TypeHandle handle) const; Description: Returns true if the current object is or derives from the indicated type.