panda3d.ode.OdeMass

from panda3d.ode import OdeMass
class OdeMass

Bases: TypedReferenceCount

Inheritance diagram

Inheritance diagram of OdeMass

__init__() → None
__init__(copy: OdeMass) → None
add(other: OdeMass) → None
adjust(newmass: dReal) → None
check() → int
getCenter() → LPoint3f
Return type

LPoint3f

static getClassType() → TypeHandle
Return type

TypeHandle

getInertialTensor() → LMatrix3f
Return type

LMatrix3f

getMagnitude() → dReal
Return type

dReal

rotate(r: LMatrix3f) → None
setBox(density: dReal, size: LVecBase3f) → None
setBox(density: dReal, lx: dReal, ly: dReal, lz: dReal) → None
setBoxTotal(total_mass: dReal, size: LVecBase3f) → None
setBoxTotal(total_mass: dReal, lx: dReal, ly: dReal, lz: dReal) → None
setCapsule(density: dReal, direction: int, radius: dReal, length: dReal) → None
setCapsuleTotal(total_mass: dReal, direction: int, radius: dReal, length: dReal) → None
setCylinder(density: dReal, direction: int, radius: dReal, length: dReal) → None
setCylinderTotal(total_mass: dReal, direction: int, radius: dReal, length: dReal) → None
setParameters(themass: dReal, center: LVecBase3f, r: LMatrix3f) → None
setParameters(themass: dReal, cgx: dReal, cgy: dReal, cgz: dReal, I11: dReal, I22: dReal, I33: dReal, I12: dReal, I13: dReal, I23: dReal) → None
setSphere(density: dReal, radius: dReal) → None
setSphereTotal(total_mass: dReal, radius: dReal) → None
setZero() → None
translate(pos: LVecBase3f) → None
translate(x: dReal, y: dReal, z: dReal) → None
write(out: ostream, indent: int) → None