# OdeWorld

from pandac.PandaModules import OdeWorld

Class : OdeWorld
Description :

## Inheritance:

OdeWorld: TypedObject
TypedObject: MemoryBase
MemoryBase:

## Methods of OdeWorld:

OdeWorld (Constructor)
addBodyDampening
applyDampening
compareTo
destroy
getAutoDisableAngularThreshold
getAutoDisableFlag
getAutoDisableLinearThreshold
getAutoDisableSteps
getAutoDisableTime
getAutoEnableDepthSf1
getCfm
getClassType
getContactMaxCorrectingVel
getContactSurfaceLayer
getErp
getGravity
getQuickStepNumIterations
getQuickStepW
impulseToForce
initSurfaceTable
isEmpty
quickStep
setAutoDisableAngularThreshold
setAutoDisableFlag
setAutoDisableLinearThreshold
setAutoDisableSteps
setAutoDisableTime
setAutoEnableDepthSf1
setCfm
setContactMaxCorrectingVel
setContactSurfaceLayer
setErp
setGravity
setQuickStepNumIterations
setQuickStepW
setSurfaceEntry
step
stepFast1

## Methods of TypedObject:

getClassType
getType
getTypeIndex
isExactType
isOfType

OdeWorld OdeWorld::OdeWorld(void); Undocumented function.

addBodyDampening void OdeWorld::add_body_dampening(OdeBody &body, int surface); void assign_surface_body(OdeBody& body, int surface);

applyDampening float OdeWorld::apply_dampening(float dt, OdeBody &body); Undocumented function.

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

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

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

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

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

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

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

getAutoEnableDepthSf1 int OdeWorld::get_auto_enable_depth_sf1(void) const; Undocumented function.

getCfm float OdeWorld::get_cfm(void) const; Undocumented function.

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

getContactMaxCorrectingVel float OdeWorld::get_contact_max_correcting_vel(void) const; Undocumented function.

getContactSurfaceLayer float OdeWorld::get_contact_surface_layer(void) const; Undocumented function.

getErp float OdeWorld::get_erp(void) const; Undocumented function.

getGravity LVecBase3f OdeWorld::get_gravity(void) const; Undocumented function.

getQuickStepNumIterations int OdeWorld::get_quick_step_num_iterations(void) const; Undocumented function.

getQuickStepW float OdeWorld::get_quick_step_w(void) const; Undocumented function.

impulseToForce LVecBase3f OdeWorld::impulse_to_force(float stepsize, float ix, float iy, float iz); Undocumented function.

initSurfaceTable void OdeWorld::init_surface_table(unsigned char num_surfaces); Undocumented function.

isEmpty bool OdeWorld::is_empty(void) const; Description: Returns true if the ID is 0, meaning the OdeWorld does not point to a valid world. It is an error to call a method on an empty world. Note that an empty OdeWorld also evaluates to False.

quickStep void OdeWorld::quick_step(float stepsize); Undocumented function.

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

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

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

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

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

setAutoEnableDepthSf1 void OdeWorld::set_auto_enable_depth_sf1(int auto_enable_depth); Undocumented function.

setCfm void OdeWorld::set_cfm(float cfm); Undocumented function.

setContactMaxCorrectingVel void OdeWorld::set_contact_max_correcting_vel(float vel); Undocumented function.

setContactSurfaceLayer void OdeWorld::set_contact_surface_layer(float depth); Undocumented function.

setErp void OdeWorld::set_erp(float erp); Undocumented function.

setGravity void OdeWorld::set_gravity(float x, float y, float z); Undocumented function.

setQuickStepNumIterations void OdeWorld::set_quick_step_num_iterations(int num); Undocumented function.

setQuickStepW void OdeWorld::set_quick_step_w(float over_relaxation); Undocumented function.

setSurfaceEntry void OdeWorld::set_surface_entry(unsigned char pos1, unsigned char pos2, float mu, float bounce, float bounce_vel, float soft_erp, float soft_cfm, float slip, float dampen); void assign_surface_body(OdeBody& body, int surface);

step void OdeWorld::step(float stepsize); Undocumented function.

stepFast1 void OdeWorld::step_fast1(float stepsize, int maxiterations); 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.