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
get_center() panda3d.core.LPoint3f
static get_class_type() panda3d.core.TypeHandle
get_inertial_tensor() panda3d.core.LMatrix3f
get_magnitude() float
rotate(r: panda3d.core.LMatrix3f)
set_box(density: float, size: panda3d.core.LVecBase3f)
set_box(density: float, lx: float, ly: float, lz: float)
set_box_total(total_mass: float, size: panda3d.core.LVecBase3f)
set_box_total(total_mass: float, lx: float, ly: float, lz: float)
set_capsule(density: float, direction: int, radius: float, length: float)
set_capsule_total(total_mass: float, direction: int, radius: float, length: float)
set_cylinder(density: float, direction: int, radius: float, length: float)
set_cylinder_total(total_mass: float, direction: int, radius: float, length: float)
set_parameters(themass: float, center: panda3d.core.LVecBase3f, r: panda3d.core.LMatrix3f)
set_parameters(themass: float, cgx: float, cgy: float, cgz: float, I11: float, I22: float, I33: float, I12: float, I13: float, I23: float)
set_sphere(density: float, radius: float)
set_sphere_total(total_mass: float, radius: float)
set_zero()
translate(pos: panda3d.core.LVecBase3f)
translate(x: float, y: float, z: float)
write(out: panda3d.core.ostream, indent: int)