OdeMass

from panda3d.ode import OdeMass
class OdeMass

Bases:

Bases: TypedReferenceCount

Inheritance diagram

Inheritance diagram of OdeMass

__init__()
__init__(copy: OdeMass)
add(other: OdeMass)
adjust(newmass: float)
check() int
getCenter() panda3d.core.LPoint3f
static getClassType() panda3d.core.TypeHandle
getInertialTensor() panda3d.core.LMatrix3f
getMagnitude() float
rotate(r: panda3d.core.LMatrix3f)
setBox(density: float, size: panda3d.core.LVecBase3f)
setBox(density: float, lx: float, ly: float, lz: float)
setBoxTotal(total_mass: float, size: panda3d.core.LVecBase3f)
setBoxTotal(total_mass: float, lx: float, ly: float, lz: float)
setCapsule(density: float, direction: int, radius: float, length: float)
setCapsuleTotal(total_mass: float, direction: int, radius: float, length: float)
setCylinder(density: float, direction: int, radius: float, length: float)
setCylinderTotal(total_mass: float, direction: int, radius: float, length: float)
setParameters(themass: float, center: panda3d.core.LVecBase3f, r: panda3d.core.LMatrix3f)
setParameters(themass: float, cgx: float, cgy: float, cgz: float, I11: float, I22: float, I33: float, I12: float, I13: float, I23: float)
setSphere(density: float, radius: float)
setSphereTotal(total_mass: float, radius: float)
setZero()
translate(pos: panda3d.core.LVecBase3f)
translate(x: float, y: float, z: float)
write(out: panda3d.core.ostream, indent: int)