OdeBody
from panda3d.ode import OdeBody
- class OdeBody
Bases:
Bases:
TypedObject
Inheritance diagram
- addForce(f: panda3d.core.LVecBase3f)
- addForceAtPos(f: panda3d.core.LVecBase3f, pos: panda3d.core.LVecBase3f)
- addForceAtRelPos(f: panda3d.core.LVecBase3f, pos: panda3d.core.LVecBase3f)
- addRelForce(f: panda3d.core.LVecBase3f)
- addRelForceAtPos(f: panda3d.core.LVecBase3f, pos: panda3d.core.LVecBase3f)
- addRelForceAtRelPos(f: panda3d.core.LVecBase3f, pos: panda3d.core.LVecBase3f)
- addRelTorque(f: panda3d.core.LVecBase3f)
- addTorque(f: panda3d.core.LVecBase3f)
- destroy()
- disable()
- enable()
- getAngularVel() panda3d.core.LVecBase3f
- static getClassType() panda3d.core.TypeHandle
- getFiniteRotationAxis() panda3d.core.LVecBase3f
- getId() dBodyID
Returns the underlying dBodyID.
- getLinearVel() panda3d.core.LVecBase3f
- getPointVel(pos: panda3d.core.LVecBase3f) panda3d.core.LPoint3f
- getPointVel(px: float, py: float, pz: float) panda3d.core.LPoint3f
- getPosRelPoint(pos: panda3d.core.LVecBase3f) panda3d.core.LPoint3f
- getPosRelPoint(px: float, py: float, pz: float) panda3d.core.LPoint3f
- getPosition() panda3d.core.LVecBase3f
- getQuaternion() panda3d.core.LVecBase4f
- getRelPointPos(pos: panda3d.core.LVecBase3f) panda3d.core.LPoint3f
- getRelPointPos(px: float, py: float, pz: float) panda3d.core.LPoint3f
- getRelPointVel(pos: panda3d.core.LVecBase3f) panda3d.core.LPoint3f
- getRelPointVel(px: float, py: float, pz: float) panda3d.core.LPoint3f
- getRotation() panda3d.core.LMatrix3f
- isEmpty() bool
Returns true if the ID is 0, meaning the
OdeBody
does not point to a valid body. It is an error to call a method on an empty body. Note that an emptyOdeBody
also evaluates to False.
- property joints
- setAngularVel(vel: panda3d.core.LVecBase3f)
- setAutoDisableDefaults()
- setFiniteRotationAxis(axis: panda3d.core.LVecBase3f)
- setForce(f: panda3d.core.LVecBase3f)
- setLinearVel(vel: panda3d.core.LVecBase3f)
- setPosition(pos: panda3d.core.LVecBase3f)
- setQuaternion(q: panda3d.core.LQuaternionf)
- setRotation(r: panda3d.core.LMatrix3f)
- setTorque(f: panda3d.core.LVecBase3f)
- vectorFromWorld(pos: panda3d.core.LVecBase3f) panda3d.core.LVecBase3f
- vectorFromWorld(px: float, py: float, pz: float) panda3d.core.LVecBase3f
- vectorToWorld(pos: panda3d.core.LVecBase3f) panda3d.core.LVecBase3f
- vectorToWorld(px: float, py: float, pz: float) panda3d.core.LVecBase3f
- write(out: panda3d.core.ostream, indent: int)