Bullet Collision Detection & Physics Library
|
btGImpactCompoundShape allows to handle multiple btCollisionShape objects at once More...
#include <btGImpactShape.h>
Classes | |
class | CompoundPrimitiveManager |
compound primitive manager More... | |
Protected Attributes | |
CompoundPrimitiveManager | m_primitive_manager |
btAlignedObjectArray< btTransform > | m_childTransforms |
btAlignedObjectArray< btCollisionShape * > | m_childShapes |
![]() | |
btAABB | m_localAABB |
bool | m_needs_update |
btVector3 | localScaling |
btGImpactBoxSet | m_box_set |
![]() | |
btScalar | m_collisionMargin |
![]() | |
int | m_shapeType |
void * | m_userPointer |
int | m_userIndex |
int | m_userIndex2 |
Additional Inherited Members | |
![]() | |
virtual void | calcLocalAABB () |
use this function for perfofm refit in bounding boxes use this function for perfofm refit in bounding boxes | |
btGImpactCompoundShape allows to handle multiple btCollisionShape objects at once
This class only can manage Convex subshapes
Definition at line 294 of file btGImpactShape.h.
Definition at line 359 of file btGImpactShape.h.
|
inlinevirtual |
Definition at line 366 of file btGImpactShape.h.
|
inline |
Use this method for adding children. Only Convex shapes are allowed.
Definition at line 404 of file btGImpactShape.h.
|
inline |
Use this method for adding children. Only Convex shapes are allowed.
Definition at line 396 of file btGImpactShape.h.
|
virtual |
Calculates the exact inertia tensor for this shape.
Implements btCollisionShape.
Definition at line 78 of file btGImpactShape.cpp.
if true, then its children must get transforms.
Implements btGImpactShapeInterface.
Definition at line 371 of file btGImpactShape.h.
|
inlinevirtual |
Implements btGImpactShapeInterface.
Definition at line 474 of file btGImpactShape.h.
|
inlinevirtual |
Implements btGImpactShapeInterface.
Definition at line 467 of file btGImpactShape.h.
|
inlinevirtual |
Retrieves the bound from a child.
Reimplemented from btGImpactShapeInterface.
Definition at line 425 of file btGImpactShape.h.
|
inlinevirtual |
Gets the children.
Implements btGImpactShapeInterface.
Definition at line 411 of file btGImpactShape.h.
|
inlinevirtual |
Gets the children.
Implements btGImpactShapeInterface.
Definition at line 417 of file btGImpactShape.h.
|
inlinevirtual |
Gets the children transform.
Implements btGImpactShapeInterface.
Definition at line 438 of file btGImpactShape.h.
|
inline |
Obtains the compopund primitive manager.
Definition at line 384 of file btGImpactShape.h.
|
inlinevirtual |
Subshape member functions.
Base method for determinig which kind of GIMPACT shape we get
Implements btGImpactShapeInterface.
Definition at line 489 of file btGImpactShape.h.
Implements btCollisionShape.
Definition at line 484 of file btGImpactShape.h.
Gets the number of children.
Implements btGImpactShapeInterface.
Definition at line 390 of file btGImpactShape.h.
|
inlinevirtual |
Obtains the primitive manager.
Implements btGImpactShapeInterface.
Definition at line 378 of file btGImpactShape.h.
Determines if this shape has tetrahedrons.
Implements btGImpactShapeInterface.
Definition at line 462 of file btGImpactShape.h.
Determines if this shape has triangles.
Implements btGImpactShapeInterface.
Definition at line 456 of file btGImpactShape.h.
|
inlinevirtual |
Sets the children transform.
Implements btGImpactShapeInterface.
Definition at line 448 of file btGImpactShape.h.
|
protected |
Definition at line 356 of file btGImpactShape.h.
|
protected |
Definition at line 355 of file btGImpactShape.h.
|
protected |
Definition at line 354 of file btGImpactShape.h.