OdeJoint

from panda3d.ode import OdeJoint
class OdeJoint

Bases: TypedObject

Inheritance diagram

Inheritance diagram of OdeJoint

JTAMotor = 9
JTBall = 1
JTContact = 4
JTFixed = 7
JTHinge = 2
JTHinge2 = 6
JTLMotor = 10
JTNone = 0
JTNull = 8
JTPlane2d = 11
JTSlider = 3
JTUniversal = 5
JT_a_motor = 9
JT_ball = 1
JT_contact = 4
JT_fixed = 7
JT_hinge = 2
JT_hinge2 = 6
JT_l_motor = 10
JT_none = 0
JT_null = 8
JT_plane2d = 11
JT_slider = 3
JT_universal = 5
__init__(*args, **kwargs)
attach()

C++ Interface: attach(const OdeJoint self, object body1, object body2)

attachBodies()

C++ Interface: attach_bodies(const OdeJoint self, const OdeBody body1, const OdeBody 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()

C++ Interface: attach_body(const OdeJoint self, 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.

*/

attach_bodies()

C++ Interface: attach_bodies(const OdeJoint self, const OdeBody body1, const OdeBody 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.

*/

attach_body()

C++ Interface: attach_body(const OdeJoint self, 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.

*/

compareTo()

C++ Interface: compare_to(OdeJoint self, const OdeJoint other)

compare_to()

C++ Interface: compare_to(OdeJoint self, const OdeJoint other)

convert()

C++ Interface: convert(OdeJoint self)

convertToAMotor()

C++ Interface: convert_to_a_motor(OdeJoint self)

convertToBall()

C++ Interface: convert_to_ball(OdeJoint self)

convertToContact()

C++ Interface: convert_to_contact(OdeJoint self)

convertToFixed()

C++ Interface: convert_to_fixed(OdeJoint self)

convertToHinge()

C++ Interface: convert_to_hinge(OdeJoint self)

convertToHinge2()

C++ Interface: convert_to_hinge2(OdeJoint self)

convertToLMotor()

C++ Interface: convert_to_l_motor(OdeJoint self)

convertToNull()

C++ Interface: convert_to_null(OdeJoint self)

convertToPlane2d()

C++ Interface: convert_to_plane2d(OdeJoint self)

convertToSlider()

C++ Interface: convert_to_slider(OdeJoint self)

convertToUniversal()

C++ Interface: convert_to_universal(OdeJoint self)

convert_to_a_motor()

C++ Interface: convert_to_a_motor(OdeJoint self)

convert_to_ball()

C++ Interface: convert_to_ball(OdeJoint self)

convert_to_contact()

C++ Interface: convert_to_contact(OdeJoint self)

convert_to_fixed()

C++ Interface: convert_to_fixed(OdeJoint self)

convert_to_hinge()

C++ Interface: convert_to_hinge(OdeJoint self)

convert_to_hinge2()

C++ Interface: convert_to_hinge2(OdeJoint self)

convert_to_l_motor()

C++ Interface: convert_to_l_motor(OdeJoint self)

convert_to_null()

C++ Interface: convert_to_null(OdeJoint self)

convert_to_plane2d()

C++ Interface: convert_to_plane2d(OdeJoint self)

convert_to_slider()

C++ Interface: convert_to_slider(OdeJoint self)

convert_to_universal()

C++ Interface: convert_to_universal(OdeJoint self)

destroy()

C++ Interface: destroy(const OdeJoint self)

detach()

C++ Interface: detach(const OdeJoint self)

getBody()

C++ Interface: get_body(OdeJoint self, int index)

getClassType()

C++ Interface: get_class_type()

getFeedback()

C++ Interface: get_feedback(const OdeJoint self)

getId()

C++ Interface: get_id(OdeJoint self)

/**
  • Returns the underlying dJointID.

*/

getJointType()

C++ Interface: get_joint_type(OdeJoint self)

/* INLINE void *get_data(); */

get_body()

C++ Interface: get_body(OdeJoint self, int index)

get_class_type()

C++ Interface: get_class_type()

get_feedback()

C++ Interface: get_feedback(const OdeJoint self)

get_id()

C++ Interface: get_id(OdeJoint self)

/**
  • Returns the underlying dJointID.

*/

get_joint_type()

C++ Interface: get_joint_type(OdeJoint self)

/* INLINE void *get_data(); */

isEmpty()

C++ Interface: is_empty(OdeJoint self)

/**
  • 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.

*/

is_empty()

C++ Interface: is_empty(OdeJoint self)

/**
  • 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.

*/

setFeedback()

C++ Interface: set_feedback(const OdeJoint self) set_feedback(const OdeJoint self, OdeJointFeedback param0) set_feedback(const OdeJoint self, bool flag)

set_feedback()

C++ Interface: set_feedback(const OdeJoint self) set_feedback(const OdeJoint self, OdeJointFeedback param0) set_feedback(const OdeJoint self, bool flag)

write()

C++ Interface: write(OdeJoint self, ostream out, int indent)