OdeGeom
from panda3d.ode import OdeGeom
- class OdeGeom
Bases:
Bases:
TypedObject
Inheritance diagram
-
enum GeomClass
-
enumerator GC_sphere = 0
-
enumerator GC_box = 1
-
enumerator GC_capped_cylinder = 2
-
enumerator GC_cylinder = 3
-
enumerator GC_plane = 4
-
enumerator GC_ray = 5
-
enumerator GC_tri_mesh = 8
GC_convex, GC_geom_transform,
-
enumerator GC_simple_space = 10
-
enumerator GC_hash_space = 11
-
enumerator GC_quad_tree_space = 12
-
enumerator GC_sphere = 0
- clearOffset()
- convertToBox() OdeBoxGeom
- convertToCappedCylinder() OdeCappedCylinderGeom
- convertToCylinder() OdeCylinderGeom
OdeConvexGeom convert_to_convex() const;
- convertToHashSpace() OdeHashSpace
- convertToPlane() OdePlaneGeom
OdeHeightfieldGeom convert_to_heightfield() const;
- convertToQuadTreeSpace() OdeQuadTreeSpace
- convertToRay() OdeRayGeom
- convertToSimpleSpace() OdeSimpleSpace
- convertToSphere() OdeSphereGeom
- convertToTriMesh() OdeTriMeshGeom
- destroy()
- disable()
- enable()
- getAABB(min: panda3d.core.LVecBase3f, max: panda3d.core.LVecBase3f)
- getCategoryBits() panda3d.core.BitMask32
- static getClassType() panda3d.core.TypeHandle
- getCollideBits() panda3d.core.BitMask32
- getId() dGeomID
Returns the underlying dGeomID.
- getOffsetPosition() panda3d.core.LPoint3f
- getOffsetQuaternion() panda3d.core.LQuaternionf
- getOffsetRotation() panda3d.core.LMatrix3f
- getPosition() panda3d.core.LPoint3f
- getQuaternion() panda3d.core.LQuaternionf
- getRotation() panda3d.core.LMatrix3f
- isEmpty() bool
Returns true if the ID is 0, meaning the
OdeGeom
does not point to a valid geom. It is an error to call a method on an empty geom. Note that an emptyOdeGeom
also evaluates to False.
- setCategoryBits(bits: panda3d.core.BitMask32)
- setCollideBits(bits: panda3d.core.BitMask32)
- setOffsetPosition(pos: panda3d.core.LVecBase3f)
- setOffsetQuaternion(q: panda3d.core.LQuaternionf)
- setOffsetRotation(r: panda3d.core.LMatrix3f)
- setOffsetWorldPosition(pos: panda3d.core.LVecBase3f)
- setOffsetWorldQuaternion(q: panda3d.core.LQuaternionf)
- setOffsetWorldRotation(r: panda3d.core.LMatrix3f)
- setPosition(pos: panda3d.core.LVecBase3f)
- setQuaternion(q: panda3d.core.LQuaternionf)
- setRotation(r: panda3d.core.LMatrix3f)
- write(out: panda3d.core.ostream, indent: int)
-
enum GeomClass