OdeMass

from panda3d.ode import OdeMass
class OdeMass

Bases: TypedReferenceCount

Inheritance diagram

Inheritance diagram of OdeMass

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