# OdeBody

from pandac.PandaModules import OdeBody

Class : OdeBody
Description :

## Inheritance:

OdeBody: TypedObject
TypedObject: MemoryBase
MemoryBase:

## Methods of OdeBody:

OdeBody (Constructor)
addForce
addForceAtPos
addForceAtRelPos
addRelForce
addRelForceAtPos
addRelForceAtRelPos
addRelTorque
addTorque
compareTo
destroy
disable
enable
getAngularVel
getAutoDisableAngularThreshold
getAutoDisableFlag
getAutoDisableLinearThreshold
getAutoDisableSteps
getAutoDisableTime
getClassType
getData
getFiniteRotationAxis
getFiniteRotationMode
getGravityMode
getJoint
getLinearVel
getMass
getNumJoints
getPointVel
getPosition
getPosRelPoint
getQuaternion
getRelPointPos
getRelPointVel
getRotation
isEnabled
setAngularVel
setAutoDisableAngularThreshold
setAutoDisableDefaults
setAutoDisableFlag
setAutoDisableLinearThreshold
setAutoDisableSteps
setAutoDisableTime
setData
setFiniteRotationAxis
setFiniteRotationMode
setForce
setGravityMode
setLinearVel
setMass
setPosition
setQuaternion
setRotation
setTorque
vectorFromWorld
vectorToWorld
write

## Methods of TypedObject:

getClassType
getType
getTypeIndex
isExactType
isOfType

OdeBody OdeBody::OdeBody(OdeWorld &world); Undocumented function.

addForce void OdeBody::add_force(float fx, float fy, float fz); Undocumented function.

addForceAtPos void OdeBody::add_force_at_pos(float fx, float fy, float fz, float px, float py, float pz); Undocumented function.

addForceAtRelPos void OdeBody::add_force_at_rel_pos(float fx, float fy, float fz, float px, float py, float pz); Undocumented function.

addRelForce void OdeBody::add_rel_force(float fx, float fy, float fz); Undocumented function.

addRelForceAtPos void OdeBody::add_rel_force_at_pos(float fx, float fy, float fz, float px, float py, float pz); Undocumented function.

addRelForceAtRelPos void OdeBody::add_rel_force_at_rel_pos(float fx, float fy, float fz, float px, float py, float pz); Undocumented function.

addRelTorque void OdeBody::add_rel_torque(float fx, float fy, float fz); Undocumented function.

addTorque void OdeBody::add_torque(float fx, float fy, float fz); Undocumented function.

compareTo int OdeBody::compare_to(OdeBody const &other) const; Undocumented function.

destroy void OdeBody::destroy(void); Undocumented function.

disable void OdeBody::disable(void); Undocumented function.

enable void OdeBody::enable(void); Undocumented function.

getAngularVel LVecBase3f OdeBody::get_angular_vel(void) const; Undocumented function.

getAutoDisableAngularThreshold float OdeBody::get_auto_disable_angular_threshold(void) const; Undocumented function.

getAutoDisableFlag int OdeBody::get_auto_disable_flag(void) const; Undocumented function.

getAutoDisableLinearThreshold float OdeBody::get_auto_disable_linear_threshold(void) const; Undocumented function.

getAutoDisableSteps int OdeBody::get_auto_disable_steps(void) const; Undocumented function.

getAutoDisableTime float OdeBody::get_auto_disable_time(void) const; Undocumented function.

getClassType static TypeHandle OdeBody::get_class_type(void); Undocumented function.

getData void *OdeBody::get_data(void) const; Undocumented function.

getFiniteRotationAxis LVecBase3f OdeBody::get_finite_rotation_axis(void) const; Undocumented function.

getFiniteRotationMode int OdeBody::get_finite_rotation_mode(void) const; Undocumented function.

getGravityMode int OdeBody::get_gravity_mode(void) const; Undocumented function.

getJoint OdeJoint OdeBody::get_joint(int index) const; Undocumented function.

getLinearVel LVecBase3f OdeBody::get_linear_vel(void) const; Undocumented function.

getMass OdeMass OdeBody::get_mass(void) const; Undocumented function.

getNumJoints int OdeBody::get_num_joints(void) const; Undocumented function.

getPointVel LPoint3f OdeBody::get_point_vel(float px, float py, float pz) const; Undocumented function.

getPosition LVecBase3f OdeBody::get_position(void) const; Undocumented function.

getPosRelPoint LPoint3f OdeBody::get_pos_rel_point(float px, float py, float pz) const; Undocumented function.

getQuaternion LVecBase4f OdeBody::get_quaternion(void) const; Undocumented function.

getRelPointPos LPoint3f OdeBody::get_rel_point_pos(float px, float py, float pz) const; Undocumented function.

getRelPointVel LPoint3f OdeBody::get_rel_point_vel(float px, float py, float pz) const; Undocumented function.

getRotation LMatrix3f OdeBody::get_rotation(void) const; Undocumented function.

isEnabled int OdeBody::is_enabled(void) const; Undocumented function.

setAngularVel void OdeBody::set_angular_vel(float x, float y, float z); Undocumented function.

setAutoDisableAngularThreshold void OdeBody::set_auto_disable_angular_threshold(float angular_threshold); Undocumented function.

setAutoDisableDefaults void OdeBody::set_auto_disable_defaults(void); Undocumented function.

setAutoDisableFlag void OdeBody::set_auto_disable_flag(int do_auto_disable); Undocumented function.

setAutoDisableLinearThreshold void OdeBody::set_auto_disable_linear_threshold(float linear_threshold); Undocumented function.

setAutoDisableSteps void OdeBody::set_auto_disable_steps(int steps); Undocumented function.

setAutoDisableTime void OdeBody::set_auto_disable_time(float time); Undocumented function.

setData void OdeBody::set_data(void *data); Undocumented function.

setFiniteRotationAxis void OdeBody::set_finite_rotation_axis(float x, float y, float z); Undocumented function.

setFiniteRotationMode void OdeBody::set_finite_rotation_mode(int mode); Undocumented function.

setForce void OdeBody::set_force(float x, float y, float z); Undocumented function.

setGravityMode void OdeBody::set_gravity_mode(int mode); Undocumented function.

setLinearVel void OdeBody::set_linear_vel(float x, float y, float z); Undocumented function.

setMass void OdeBody::set_mass(OdeMass &mass); Undocumented function.

setPosition void OdeBody::set_position(float x, float y, float z); Undocumented function.

setQuaternion void OdeBody::set_quaternion(LQuaternionf const q); Undocumented function.

setRotation void OdeBody::set_rotation(LMatrix3f const r); Undocumented function.

setTorque void OdeBody::set_torque(float x, float y, float z); Undocumented function.

vectorFromWorld LVecBase3f OdeBody::vector_from_world(float px, float py, float pz) const; Undocumented function.

vectorToWorld LVecBase3f OdeBody::vector_to_world(float px, float py, float pz) const; Undocumented function.

write virtual void OdeBody::write(ostream &out = (cout), unsigned int indent = (0)) const; Undocumented function.

getClassType static TypeHandle TypedObject::get_class_type(void); Undocumented function.

getType virtual TypeHandle TypedObject::get_type(void) const = 0; Derived classes should override this function to return get_class_type().

getTypeIndex int TypedObject::get_type_index(void) const; Description: Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index().

isExactType bool TypedObject::is_exact_type(TypeHandle handle) const; Description: Returns true if the current object is the indicated type exactly.

isOfType bool TypedObject::is_of_type(TypeHandle handle) const; Description: Returns true if the current object is or derives from the indicated type.