Changeset 2882 for code/trunk/src/bullet/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h
- Timestamp:
- Mar 31, 2009, 8:05:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/bullet/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h
r2662 r2882 112 112 virtual btCollisionAlgorithmCreateFunc* getCollisionAlgorithmCreateFunc(int proxyType0,int proxyType1); 113 113 114 ///Use this method to allow to generate multiple contact points between at once, between two objects using the generic convex-convex algorithm. 115 ///By default, this feature is disabled for best performance. 116 ///@param numPerturbationIterations controls the number of collision queries. Set it to zero to disable the feature. 117 ///@param minimumPointsPerturbationThreshold is the minimum number of points in the contact cache, above which the feature is disabled 118 ///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. 119 ///See Bullet/Demos/CollisionDemo for an example how this feature gathers multiple points. 120 ///@todo we could add a per-object setting of those parameters, for level-of-detail collision detection. 121 void setConvexConvexMultipointIterations(int numPerturbationIterations=3, int minimumPointsPerturbationThreshold = 3); 114 122 115 123 };
Note: See TracChangeset
for help on using the changeset viewer.