OdeWorld

from panda3d.ode import OdeWorld
class OdeWorld

Bases:

Bases: TypedObject

Inheritance diagram

Inheritance diagram of OdeWorld

__init__()
__init__(copy: OdeWorld)
add_body_dampening(body: OdeBody, surface: int)

void assign_surface_body(OdeBody& body, int surface);

apply_dampening(dt: float, body: OdeBody) float
compare_to(other: OdeWorld) int
destroy()
get_auto_disable_angular_threshold() float
get_auto_disable_flag() int
get_auto_disable_linear_threshold() float
get_auto_disable_steps() int
get_auto_disable_time() float
get_cfm() float
static get_class_type() panda3d.core.TypeHandle
get_contact_max_correcting_vel() float
get_contact_surface_layer() float
get_erp() float
get_gravity() panda3d.core.LVecBase3f
get_id() dWorldID

Returns the underlying dWorldID.

get_quick_step_num_iterations() int
get_quick_step_w() float
impulse_to_force(stepsize: float, impulse: panda3d.core.LVecBase3f) panda3d.core.LVecBase3f
impulse_to_force(stepsize: float, ix: float, iy: float, iz: float) panda3d.core.LVecBase3f
init_surface_table(num_surfaces: panda3d.core.uint8_t)
is_empty() bool

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.

quick_step(stepsize: float)
set_auto_disable_angular_threshold(angular_threshold: float)
set_auto_disable_flag(do_auto_disable: int)
set_auto_disable_linear_threshold(linear_threshold: float)
set_auto_disable_steps(steps: int)
set_auto_disable_time(time: float)
set_cfm(cfm: float)
set_contact_max_correcting_vel(vel: float)
set_contact_surface_layer(depth: float)
set_erp(erp: float)
set_gravity(vec: panda3d.core.LVecBase3f)
set_gravity(x: float, y: float, z: float)
set_quick_step_num_iterations(num: int)
set_quick_step_w(over_relaxation: float)
set_surface_entry(pos1: panda3d.core.uint8_t, pos2: panda3d.core.uint8_t, mu: float, bounce: float, bounce_vel: float, soft_erp: float, soft_cfm: float, slip: float, dampen: float)
step(stepsize: float)