OdeJoint¶
-
class OdeJoint¶
Bases:
TypedObjectInheritance diagram
digraph inheritance9f1867df3d { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "OdeJoint" [URL="acron.ode.OdeJoint.html#acron.ode.OdeJoint",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "OdeJoint" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; }-
enum JointType¶
/* or “unknown” */
-
enumerator JT_ball = 1¶
-
enumerator JT_hinge = 2¶
-
enumerator JT_slider = 3¶
-
enumerator JT_contact = 4¶
-
enumerator JT_universal = 5¶
-
enumerator JT_hinge2 = 6¶
-
enumerator JT_fixed = 7¶
-
enumerator JT_null = 8¶
-
enumerator JT_a_motor = 9¶
-
enumerator JT_l_motor = 10¶
-
enumerator JT_plane2d = 11¶
-
enumerator JT_ball = 1¶
- OdeJoint.__eq__()¶
- OdeJoint.attach()¶
- OdeJoint.attach_bodies()¶
Attaches two
OdeBodyobjects to this joint. Order is important. Consider using theOdeJoint::attach()extension function if you’re using the Python interface.
- OdeJoint.attach_body()¶
Attaches a single
OdeBodyto this joint at the specified index (0 or 1). The other index will be set to the environment (null). Consider using theOdeJoint::attach()extension function if you’re using the Python interface.
- OdeJoint.compare_to()¶
- OdeJoint.convert()¶
- OdeJoint.convert_to_a_motor()¶
- OdeJoint.convert_to_ball()¶
- OdeJoint.convert_to_contact()¶
- OdeJoint.convert_to_fixed()¶
- OdeJoint.convert_to_hinge()¶
- OdeJoint.convert_to_hinge2()¶
- OdeJoint.convert_to_l_motor()¶
- OdeJoint.convert_to_null()¶
- OdeJoint.convert_to_plane2d()¶
- OdeJoint.convert_to_slider()¶
- OdeJoint.convert_to_universal()¶
- OdeJoint.destroy()¶
- OdeJoint.detach()¶
- OdeJoint.get_body()¶
- static OdeJoint.get_class_type()¶
- OdeJoint.get_feedback()¶
- OdeJoint.get_id()¶
Returns the underlying dJointID.
- OdeJoint.is_empty()¶
Returns true if the ID is 0, meaning the
OdeJointdoes not point to a valid joint. It is an error to call a method on an empty joint. Note that an emptyOdeJointalso evaluates to False.
- OdeJoint.set_feedback()¶
- OdeJoint.write()¶
-
enum JointType¶