OdeBody

class OdeBody

Bases: TypedObject

Inheritance diagram

digraph inheritanced57d02f015 { 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=""]; "OdeBody" [URL="acron.ode.OdeBody.html#acron.ode.OdeBody",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "OdeBody" [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=""]; }
OdeBody.__init__()
OdeBody.add_force()
OdeBody.add_force_at_pos()
OdeBody.add_force_at_rel_pos()
OdeBody.add_rel_force()
OdeBody.add_rel_force_at_pos()
OdeBody.add_rel_force_at_rel_pos()
OdeBody.add_rel_torque()
OdeBody.add_torque()
OdeBody.compare_to()
OdeBody.destroy()
OdeBody.disable()
OdeBody.enable()
OdeBody.get_angular_vel()
OdeBody.get_auto_disable_angular_threshold()
OdeBody.get_auto_disable_flag()
OdeBody.get_auto_disable_linear_threshold()
OdeBody.get_auto_disable_steps()
OdeBody.get_auto_disable_time()
static OdeBody.get_class_type()
OdeBody.get_converted_joint()
OdeBody.get_data()
OdeBody.get_finite_rotation_axis()
OdeBody.get_finite_rotation_mode()
OdeBody.get_gravity_mode()
OdeBody.get_id()

Returns the underlying dBodyID.

OdeBody.get_joint()
OdeBody.get_linear_vel()
OdeBody.get_mass()
OdeBody.get_num_joints()
OdeBody.get_point_vel()
OdeBody.get_pos_rel_point()
OdeBody.get_position()
OdeBody.get_quaternion()
OdeBody.get_rel_point_pos()
OdeBody.get_rel_point_vel()
OdeBody.get_rotation()
OdeBody.is_empty()

Returns true if the ID is 0, meaning the OdeBody does not point to a valid body. It is an error to call a method on an empty body. Note that an empty OdeBody also evaluates to False.

OdeBody.is_enabled()
OdeBody.set_angular_vel()
OdeBody.set_auto_disable_angular_threshold()
OdeBody.set_auto_disable_defaults()
OdeBody.set_auto_disable_flag()
OdeBody.set_auto_disable_linear_threshold()
OdeBody.set_auto_disable_steps()
OdeBody.set_auto_disable_time()
OdeBody.set_data()
OdeBody.set_finite_rotation_axis()
OdeBody.set_finite_rotation_mode()
OdeBody.set_force()
OdeBody.set_gravity_mode()
OdeBody.set_linear_vel()
OdeBody.set_mass()
OdeBody.set_position()
OdeBody.set_quaternion()
OdeBody.set_rotation()
OdeBody.set_torque()
OdeBody.vector_from_world()
OdeBody.vector_to_world()
OdeBody.write()