OdeBody

from panda3d.ode import OdeBody
class OdeBody

Bases: TypedObject

Inheritance diagram

Inheritance diagram of OdeBody

__init__(*args, **kwargs)
addForce()

C++ Interface: add_force(const OdeBody self, const LVecBase3f f) add_force(const OdeBody self, float fx, float fy, float fz)

addForceAtPos()

C++ Interface: add_force_at_pos(const OdeBody self, const LVecBase3f f, const LVecBase3f pos) add_force_at_pos(const OdeBody self, float fx, float fy, float fz, float px, float py, float pz)

addForceAtRelPos()

C++ Interface: add_force_at_rel_pos(const OdeBody self, const LVecBase3f f, const LVecBase3f pos) add_force_at_rel_pos(const OdeBody self, float fx, float fy, float fz, float px, float py, float pz)

addRelForce()

C++ Interface: add_rel_force(const OdeBody self, const LVecBase3f f) add_rel_force(const OdeBody self, float fx, float fy, float fz)

addRelForceAtPos()

C++ Interface: add_rel_force_at_pos(const OdeBody self, const LVecBase3f f, const LVecBase3f pos) add_rel_force_at_pos(const OdeBody self, float fx, float fy, float fz, float px, float py, float pz)

addRelForceAtRelPos()

C++ Interface: add_rel_force_at_rel_pos(const OdeBody self, const LVecBase3f f, const LVecBase3f pos) add_rel_force_at_rel_pos(const OdeBody self, float fx, float fy, float fz, float px, float py, float pz)

addRelTorque()

C++ Interface: add_rel_torque(const OdeBody self, const LVecBase3f f) add_rel_torque(const OdeBody self, float fx, float fy, float fz)

addTorque()

C++ Interface: add_torque(const OdeBody self, const LVecBase3f f) add_torque(const OdeBody self, float fx, float fy, float fz)

add_force()

C++ Interface: add_force(const OdeBody self, const LVecBase3f f) add_force(const OdeBody self, float fx, float fy, float fz)

add_force_at_pos()

C++ Interface: add_force_at_pos(const OdeBody self, const LVecBase3f f, const LVecBase3f pos) add_force_at_pos(const OdeBody self, float fx, float fy, float fz, float px, float py, float pz)

add_force_at_rel_pos()

C++ Interface: add_force_at_rel_pos(const OdeBody self, const LVecBase3f f, const LVecBase3f pos) add_force_at_rel_pos(const OdeBody self, float fx, float fy, float fz, float px, float py, float pz)

add_rel_force()

C++ Interface: add_rel_force(const OdeBody self, const LVecBase3f f) add_rel_force(const OdeBody self, float fx, float fy, float fz)

add_rel_force_at_pos()

C++ Interface: add_rel_force_at_pos(const OdeBody self, const LVecBase3f f, const LVecBase3f pos) add_rel_force_at_pos(const OdeBody self, float fx, float fy, float fz, float px, float py, float pz)

add_rel_force_at_rel_pos()

C++ Interface: add_rel_force_at_rel_pos(const OdeBody self, const LVecBase3f f, const LVecBase3f pos) add_rel_force_at_rel_pos(const OdeBody self, float fx, float fy, float fz, float px, float py, float pz)

add_rel_torque()

C++ Interface: add_rel_torque(const OdeBody self, const LVecBase3f f) add_rel_torque(const OdeBody self, float fx, float fy, float fz)

add_torque()

C++ Interface: add_torque(const OdeBody self, const LVecBase3f f) add_torque(const OdeBody self, float fx, float fy, float fz)

compareTo()

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

compare_to()

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

destroy()

C++ Interface: destroy(const OdeBody self)

disable()

C++ Interface: disable(const OdeBody self)

enable()

C++ Interface: enable(const OdeBody self)

getAngularVel()

C++ Interface: get_angular_vel(OdeBody self)

getAutoDisableAngularThreshold()

C++ Interface: get_auto_disable_angular_threshold(OdeBody self)

getAutoDisableFlag()

C++ Interface: get_auto_disable_flag(OdeBody self)

getAutoDisableLinearThreshold()

C++ Interface: get_auto_disable_linear_threshold(OdeBody self)

getAutoDisableSteps()

C++ Interface: get_auto_disable_steps(OdeBody self)

getAutoDisableTime()

C++ Interface: get_auto_disable_time(OdeBody self)

getClassType()

C++ Interface: get_class_type()

getConvertedJoint()

C++ Interface: get_converted_joint(OdeBody self, int i)

getData()

C++ Interface: get_data(OdeBody self)

getFiniteRotationAxis()

C++ Interface: get_finite_rotation_axis(OdeBody self)

getFiniteRotationMode()

C++ Interface: get_finite_rotation_mode(OdeBody self)

getGravityMode()

C++ Interface: get_gravity_mode(OdeBody self)

getId()

C++ Interface: get_id(OdeBody self)

/**
  • Returns the underlying dBodyID.

*/

getJoint()

C++ Interface: get_joint(OdeBody self, int index)

getJoints()
getLinearVel()

C++ Interface: get_linear_vel(OdeBody self)

getMass()

C++ Interface: get_mass(OdeBody self)

getNumJoints()

C++ Interface: get_num_joints(OdeBody self)

getPointVel()

C++ Interface: get_point_vel(OdeBody self, const LVecBase3f pos) get_point_vel(OdeBody self, float px, float py, float pz)

getPosRelPoint()

C++ Interface: get_pos_rel_point(OdeBody self, const LVecBase3f pos) get_pos_rel_point(OdeBody self, float px, float py, float pz)

getPosition()

C++ Interface: get_position(OdeBody self)

getQuaternion()

C++ Interface: get_quaternion(OdeBody self)

getRelPointPos()

C++ Interface: get_rel_point_pos(OdeBody self, const LVecBase3f pos) get_rel_point_pos(OdeBody self, float px, float py, float pz)

getRelPointVel()

C++ Interface: get_rel_point_vel(OdeBody self, const LVecBase3f pos) get_rel_point_vel(OdeBody self, float px, float py, float pz)

getRotation()

C++ Interface: get_rotation(OdeBody self)

get_angular_vel()

C++ Interface: get_angular_vel(OdeBody self)

get_auto_disable_angular_threshold()

C++ Interface: get_auto_disable_angular_threshold(OdeBody self)

get_auto_disable_flag()

C++ Interface: get_auto_disable_flag(OdeBody self)

get_auto_disable_linear_threshold()

C++ Interface: get_auto_disable_linear_threshold(OdeBody self)

get_auto_disable_steps()

C++ Interface: get_auto_disable_steps(OdeBody self)

get_auto_disable_time()

C++ Interface: get_auto_disable_time(OdeBody self)

get_class_type()

C++ Interface: get_class_type()

get_converted_joint()

C++ Interface: get_converted_joint(OdeBody self, int i)

get_data()

C++ Interface: get_data(OdeBody self)

get_finite_rotation_axis()

C++ Interface: get_finite_rotation_axis(OdeBody self)

get_finite_rotation_mode()

C++ Interface: get_finite_rotation_mode(OdeBody self)

get_gravity_mode()

C++ Interface: get_gravity_mode(OdeBody self)

get_id()

C++ Interface: get_id(OdeBody self)

/**
  • Returns the underlying dBodyID.

*/

get_joint()

C++ Interface: get_joint(OdeBody self, int index)

get_joints()
get_linear_vel()

C++ Interface: get_linear_vel(OdeBody self)

get_mass()

C++ Interface: get_mass(OdeBody self)

get_num_joints()

C++ Interface: get_num_joints(OdeBody self)

get_point_vel()

C++ Interface: get_point_vel(OdeBody self, const LVecBase3f pos) get_point_vel(OdeBody self, float px, float py, float pz)

get_pos_rel_point()

C++ Interface: get_pos_rel_point(OdeBody self, const LVecBase3f pos) get_pos_rel_point(OdeBody self, float px, float py, float pz)

get_position()

C++ Interface: get_position(OdeBody self)

get_quaternion()

C++ Interface: get_quaternion(OdeBody self)

get_rel_point_pos()

C++ Interface: get_rel_point_pos(OdeBody self, const LVecBase3f pos) get_rel_point_pos(OdeBody self, float px, float py, float pz)

get_rel_point_vel()

C++ Interface: get_rel_point_vel(OdeBody self, const LVecBase3f pos) get_rel_point_vel(OdeBody self, float px, float py, float pz)

get_rotation()

C++ Interface: get_rotation(OdeBody self)

isEmpty()

C++ Interface: is_empty(OdeBody self)

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

*/

isEnabled()

C++ Interface: is_enabled(OdeBody self)

is_empty()

C++ Interface: is_empty(OdeBody self)

/**
  • 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()

C++ Interface: is_enabled(OdeBody self)

joints
setAngularVel()

C++ Interface: set_angular_vel(const OdeBody self, const LVecBase3f vel) set_angular_vel(const OdeBody self, float x, float y, float z)

setAutoDisableAngularThreshold()

C++ Interface: set_auto_disable_angular_threshold(const OdeBody self, float angular_threshold)

setAutoDisableDefaults()

C++ Interface: set_auto_disable_defaults(const OdeBody self)

setAutoDisableFlag()

C++ Interface: set_auto_disable_flag(const OdeBody self, int do_auto_disable)

setAutoDisableLinearThreshold()

C++ Interface: set_auto_disable_linear_threshold(const OdeBody self, float linear_threshold)

setAutoDisableSteps()

C++ Interface: set_auto_disable_steps(const OdeBody self, int steps)

setAutoDisableTime()

C++ Interface: set_auto_disable_time(const OdeBody self, float time)

setData()

C++ Interface: set_data(const OdeBody self, object data)

setFiniteRotationAxis()

C++ Interface: set_finite_rotation_axis(const OdeBody self, const LVecBase3f axis) set_finite_rotation_axis(const OdeBody self, float x, float y, float z)

setFiniteRotationMode()

C++ Interface: set_finite_rotation_mode(const OdeBody self, int mode)

setForce()

C++ Interface: set_force(const OdeBody self, const LVecBase3f f) set_force(const OdeBody self, float x, float y, float z)

setGravityMode()

C++ Interface: set_gravity_mode(const OdeBody self, int mode)

setLinearVel()

C++ Interface: set_linear_vel(const OdeBody self, const LVecBase3f vel) set_linear_vel(const OdeBody self, float x, float y, float z)

setMass()

C++ Interface: set_mass(const OdeBody self, OdeMass mass)

setPosition()

C++ Interface: set_position(const OdeBody self, const LVecBase3f pos) set_position(const OdeBody self, float x, float y, float z)

setQuaternion()

C++ Interface: set_quaternion(const OdeBody self, const LQuaternionf q)

setRotation()

C++ Interface: set_rotation(const OdeBody self, const LMatrix3f r)

setTorque()

C++ Interface: set_torque(const OdeBody self, const LVecBase3f f) set_torque(const OdeBody self, float x, float y, float z)

set_angular_vel()

C++ Interface: set_angular_vel(const OdeBody self, const LVecBase3f vel) set_angular_vel(const OdeBody self, float x, float y, float z)

set_auto_disable_angular_threshold()

C++ Interface: set_auto_disable_angular_threshold(const OdeBody self, float angular_threshold)

set_auto_disable_defaults()

C++ Interface: set_auto_disable_defaults(const OdeBody self)

set_auto_disable_flag()

C++ Interface: set_auto_disable_flag(const OdeBody self, int do_auto_disable)

set_auto_disable_linear_threshold()

C++ Interface: set_auto_disable_linear_threshold(const OdeBody self, float linear_threshold)

set_auto_disable_steps()

C++ Interface: set_auto_disable_steps(const OdeBody self, int steps)

set_auto_disable_time()

C++ Interface: set_auto_disable_time(const OdeBody self, float time)

set_data()

C++ Interface: set_data(const OdeBody self, object data)

set_finite_rotation_axis()

C++ Interface: set_finite_rotation_axis(const OdeBody self, const LVecBase3f axis) set_finite_rotation_axis(const OdeBody self, float x, float y, float z)

set_finite_rotation_mode()

C++ Interface: set_finite_rotation_mode(const OdeBody self, int mode)

set_force()

C++ Interface: set_force(const OdeBody self, const LVecBase3f f) set_force(const OdeBody self, float x, float y, float z)

set_gravity_mode()

C++ Interface: set_gravity_mode(const OdeBody self, int mode)

set_linear_vel()

C++ Interface: set_linear_vel(const OdeBody self, const LVecBase3f vel) set_linear_vel(const OdeBody self, float x, float y, float z)

set_mass()

C++ Interface: set_mass(const OdeBody self, OdeMass mass)

set_position()

C++ Interface: set_position(const OdeBody self, const LVecBase3f pos) set_position(const OdeBody self, float x, float y, float z)

set_quaternion()

C++ Interface: set_quaternion(const OdeBody self, const LQuaternionf q)

set_rotation()

C++ Interface: set_rotation(const OdeBody self, const LMatrix3f r)

set_torque()

C++ Interface: set_torque(const OdeBody self, const LVecBase3f f) set_torque(const OdeBody self, float x, float y, float z)

vectorFromWorld()

C++ Interface: vector_from_world(OdeBody self, const LVecBase3f pos) vector_from_world(OdeBody self, float px, float py, float pz)

vectorToWorld()

C++ Interface: vector_to_world(OdeBody self, const LVecBase3f pos) vector_to_world(OdeBody self, float px, float py, float pz)

vector_from_world()

C++ Interface: vector_from_world(OdeBody self, const LVecBase3f pos) vector_from_world(OdeBody self, float px, float py, float pz)

vector_to_world()

C++ Interface: vector_to_world(OdeBody self, const LVecBase3f pos) vector_to_world(OdeBody self, float px, float py, float pz)

write()

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