Bullet Collision Detection & Physics Library: btManifoldResult.h File Reference

Bullet Collision Detection & Physics Library

Classes | Typedefs | Variables
btManifoldResult.h File Reference
`#include "BulletCollision/NarrowPhaseCollision/btPersistentManifold.h"`
`#include "BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h"`
`#include "LinearMath/btTransform.h"`
`#include "BulletCollision/CollisionDispatch/btCollisionObjectWrapper.h"`
`#include "BulletCollision/CollisionDispatch/btCollisionObject.h"`
Include dependency graph for btManifoldResult.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | btManifoldResult
| btManifoldResult is a helper class to manage contact results. More...

## Typedefs
typedef bool(* | ContactAddedCallback) (btManifoldPoint &cp, const btCollisionObjectWrapper *colObj0Wrap, int partId0, int index0, const btCollisionObjectWrapper *colObj1Wrap, int partId1, int index1)
typedef btScalar(* | CalculateCombinedCallback) (const btCollisionObject *body0, const btCollisionObject *body1)
| These callbacks are used to customize the algorith that combine restitution, friction, damping, Stiffness. More...

## Variables
ContactAddedCallback | gContactAddedCallback
| This is to allow MaterialCombiner/Custom Friction/Restitution values. More...
CalculateCombinedCallback | gCalculateCombinedRestitutionCallback
CalculateCombinedCallback | gCalculateCombinedFrictionCallback
CalculateCombinedCallback | gCalculateCombinedRollingFrictionCallback
CalculateCombinedCallback | gCalculateCombinedSpinningFrictionCallback
CalculateCombinedCallback | gCalculateCombinedContactDampingCallback
CalculateCombinedCallback | gCalculateCombinedContactStiffnessCallback

## Typedef Documentation

## ◆ CalculateCombinedCallback

typedef btScalar(* CalculateCombinedCallback) (const btCollisionObject *body0, const btCollisionObject *body1)

These callbacks are used to customize the algorith that combine restitution, friction, damping, Stiffness.

Definition at line 37 of file btManifoldResult.h.

## ◆ ContactAddedCallback

typedef bool(* ContactAddedCallback) (btManifoldPoint &cp, const btCollisionObjectWrapper *colObj0Wrap, int partId0, int index0, const btCollisionObjectWrapper *colObj1Wrap, int partId1, int index1)

Definition at line 31 of file btManifoldResult.h.

## Variable Documentation

## ◆ gCalculateCombinedContactDampingCallback

CalculateCombinedCallback gCalculateCombinedContactDampingCallback
| extern

Definition at line 28 of file btManifoldResult.cpp.

## ◆ gCalculateCombinedContactStiffnessCallback

CalculateCombinedCallback gCalculateCombinedContactStiffnessCallback
| extern

Definition at line 29 of file btManifoldResult.cpp.

## ◆ gCalculateCombinedFrictionCallback

CalculateCombinedCallback gCalculateCombinedFrictionCallback
| extern

Definition at line 25 of file btManifoldResult.cpp.

## ◆ gCalculateCombinedRestitutionCallback

CalculateCombinedCallback gCalculateCombinedRestitutionCallback
| extern

Definition at line 24 of file btManifoldResult.cpp.

## ◆ gCalculateCombinedRollingFrictionCallback

CalculateCombinedCallback gCalculateCombinedRollingFrictionCallback
| extern

Definition at line 26 of file btManifoldResult.cpp.

## ◆ gCalculateCombinedSpinningFrictionCallback

CalculateCombinedCallback gCalculateCombinedSpinningFrictionCallback
| extern

Definition at line 27 of file btManifoldResult.cpp.

## ◆ gContactAddedCallback

ContactAddedCallback gContactAddedCallback
| extern

This is to allow MaterialCombiner/Custom Friction/Restitution values.

Definition at line 22 of file btManifoldResult.cpp.