btCollisionConfiguration allows to configure Bullet collision detection stack allocator, pool memory allocators
More...
#include <btDefaultCollisionConfiguration.h>
btCollisionConfiguration allows to configure Bullet collision detection stack allocator, pool memory allocators
Definition at line 46 of file btDefaultCollisionConfiguration.h.
◆ btDefaultCollisionConfiguration()
◆ ~btDefaultCollisionConfiguration()
btDefaultCollisionConfiguration::~btDefaultCollisionConfiguration |
( |
| ) |
|
|
virtual |
◆ getClosestPointsAlgorithmCreateFunc()
◆ getCollisionAlgorithmCreateFunc()
◆ getCollisionAlgorithmPool()
◆ getPersistentManifoldPool()
◆ setConvexConvexMultipointIterations()
void btDefaultCollisionConfiguration::setConvexConvexMultipointIterations |
( |
int |
numPerturbationIterations = 3 , |
|
|
int |
minimumPointsPerturbationThreshold = 3 |
|
) |
| |
Use this method to allow to generate multiple contact points between at once, between two objects using the generic convex-convex algorithm.
By default, this feature is disabled for best performance.
- Parameters
-
numPerturbationIterations | controls the number of collision queries. Set it to zero to disable the feature. |
minimumPointsPerturbationThreshold | is the minimum number of points in the contact cache, above which the feature is disabled 3 is a good value for both params, if you want to enable the feature. This is because the default contact cache contains a maximum of 4 points, and one collision query at the unperturbed orientation is performed first. See Bullet/Demos/CollisionDemo for an example how this feature gathers multiple points. |
Definition at line 346 of file btDefaultCollisionConfiguration.cpp.
◆ setPlaneConvexMultipointIterations()
void btDefaultCollisionConfiguration::setPlaneConvexMultipointIterations |
( |
int |
numPerturbationIterations = 3 , |
|
|
int |
minimumPointsPerturbationThreshold = 3 |
|
) |
| |
◆ m_boxBoxCF
◆ m_boxSphereCF
◆ m_collisionAlgorithmPool
◆ m_compoundCompoundCreateFunc
◆ m_compoundCreateFunc
◆ m_convexConcaveCreateFunc
◆ m_convexConvexCreateFunc
◆ m_convexPlaneCF
◆ m_emptyCreateFunc
◆ m_ownsCollisionAlgorithmPool
bool btDefaultCollisionConfiguration::m_ownsCollisionAlgorithmPool |
|
protected |
◆ m_ownsPersistentManifoldPool
bool btDefaultCollisionConfiguration::m_ownsPersistentManifoldPool |
|
protected |
◆ m_pdSolver
◆ m_persistentManifoldPool
◆ m_persistentManifoldPoolSize
int btDefaultCollisionConfiguration::m_persistentManifoldPoolSize |
|
protected |
◆ m_planeConvexCF
◆ m_sphereBoxCF
◆ m_sphereSphereCF
◆ m_sphereTriangleCF
◆ m_swappedCompoundCreateFunc
◆ m_swappedConvexConcaveCreateFunc
◆ m_triangleSphereCF
The documentation for this class was generated from the following files: