OdeBody

from acron.ode import OdeBody
class OdeBody

Bases:

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=""]; }
__init__()
add_force()
add_force_at_pos()
add_force_at_rel_pos()
add_rel_force()
add_rel_force_at_pos()
add_rel_force_at_rel_pos()
add_rel_torque()
add_torque()
compare_to()
destroy()
disable()
enable()
get_angular_vel()
get_auto_disable_angular_threshold()
get_auto_disable_flag()
get_auto_disable_linear_threshold()
get_auto_disable_steps()
get_auto_disable_time()
static get_class_type()
get_converted_joint()
get_data()
get_finite_rotation_axis()
get_finite_rotation_mode()
get_gravity_mode()
get_id()

Returns the underlying dBodyID.

get_joint()
get_joints() → list
get_linear_vel()
get_mass()
get_num_joints()
get_point_vel()
get_pos_rel_point()
get_position()
get_quaternion()
get_rel_point_pos()
get_rel_point_vel()
get_rotation()
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.

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