panda3d.ode.OdeWorld

from panda3d.ode import OdeWorld
class OdeWorld

Bases: TypedObject

Inheritance diagram

Inheritance diagram of OdeWorld

__init__() → None
__init__(copy: OdeWorld) → None
destroy() → 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.

getId() → dWorldID

Returns the underlying dWorldID.

Return type

dWorldID

setGravity(vec: LVecBase3f) → None
setGravity(x: dReal, y: dReal, z: dReal) → None
setErp(erp: dReal) → None
setCfm(cfm: dReal) → None
setQuickStepNumIterations(num: int) → None
setQuickStepW(over_relaxation: dReal) → None
setContactMaxCorrectingVel(vel: dReal) → None
setContactSurfaceLayer(depth: dReal) → None
setAutoDisableLinearThreshold(linear_threshold: dReal) → None
setAutoDisableAngularThreshold(angular_threshold: dReal) → None
setAutoDisableSteps(steps: int) → None
setAutoDisableTime(time: dReal) → None
setAutoDisableFlag(do_auto_disable: int) → None
getGravity() → LVecBase3f
Return type

LVecBase3f

getErp() → dReal
Return type

dReal

getCfm() → dReal
Return type

dReal

getQuickStepNumIterations() → int
getQuickStepW() → dReal
Return type

dReal

getContactMaxCorrectingVel() → dReal
Return type

dReal

getContactSurfaceLayer() → dReal
Return type

dReal

getAutoDisableLinearThreshold() → dReal
Return type

dReal

getAutoDisableAngularThreshold() → dReal
Return type

dReal

getAutoDisableSteps() → int
getAutoDisableTime() → dReal
Return type

dReal

getAutoDisableFlag() → int
impulseToForce(stepsize: dReal, impulse: LVecBase3f) → LVecBase3f
Return type

LVecBase3f

impulseToForce(stepsize: dReal, ix: dReal, iy: dReal, iz: dReal) → LVecBase3f
Return type

LVecBase3f

step(stepsize: dReal) → None
quickStep(stepsize: dReal) → None
compareTo(other: OdeWorld) → int
initSurfaceTable(num_surfaces: uint8_t) → None
addBodyDampening(body: OdeBody, surface: int) → None

void assign_surface_body(OdeBody& body, int surface);

setSurfaceEntry(pos1: uint8_t, pos2: uint8_t, mu: dReal, bounce: dReal, bounce_vel: dReal, soft_erp: dReal, soft_cfm: dReal, slip: dReal, dampen: dReal) → None
applyDampening(dt: float, body: OdeBody) → float
static getClassType() → TypeHandle
Return type

TypeHandle