OdeWorld

from panda3d.ode import OdeWorld
class OdeWorld

Bases: TypedObject

Inheritance diagram

Inheritance diagram of OdeWorld

__init__()
__init__(copy: OdeWorld)
addBodyDampening(body: OdeBody, surface: int)None

void assign_surface_body(OdeBody& body, int surface);

applyDampening(dt: float, body: OdeBody)float
compareTo(other: OdeWorld)int
destroy()None
getAutoDisableAngularThreshold()float
getAutoDisableFlag()int
getAutoDisableLinearThreshold()float
getAutoDisableSteps()int
getAutoDisableTime()float
getCfm()float
static getClassType()panda3d.core.TypeHandle
getContactMaxCorrectingVel()float
getContactSurfaceLayer()float
getErp()float
getGravity()panda3d.core.LVecBase3f
getId() → dWorldID

Returns the underlying dWorldID.

getQuickStepNumIterations()int
getQuickStepW()float
impulseToForce(stepsize: float, impulse: panda3d.core.LVecBase3f)panda3d.core.LVecBase3f
impulseToForce(stepsize: float, ix: float, iy: float, iz: float)panda3d.core.LVecBase3f
initSurfaceTable(num_surfaces: panda3d.core.uint8_t)None
isEmpty()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.

quickStep(stepsize: float)None
setAutoDisableAngularThreshold(angular_threshold: float)None
setAutoDisableFlag(do_auto_disable: int)None
setAutoDisableLinearThreshold(linear_threshold: float)None
setAutoDisableSteps(steps: int)None
setAutoDisableTime(time: float)None
setCfm(cfm: float)None
setContactMaxCorrectingVel(vel: float)None
setContactSurfaceLayer(depth: float)None
setErp(erp: float)None
setGravity(vec: panda3d.core.LVecBase3f)None
setGravity(x: float, y: float, z: float)None
setQuickStepNumIterations(num: int)None
setQuickStepW(over_relaxation: float)None
setSurfaceEntry(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)None
step(stepsize: float)None