Jolt Physics
A multi core friendly Game Physics Engine
|
#include <ContactListener.h>
Public Attributes | |
float | mCombinedFriction |
Combined friction for the body pair (usually calculated by sCombineFriction) | |
float | mCombinedRestitution |
Combined restitution for the body pair (usually calculated by sCombineRestitution) | |
bool | mIsSensor |
If the contact should be treated as a sensor vs body contact (no collision response) | |
When a contact point is added or persisted, the callback gets a chance to override certain properties of the contact constraint. The values are filled in with their defaults by the system so the callback doesn't need to modify anything, but it can if it wants to.
float ContactSettings::mCombinedFriction |
Combined friction for the body pair (usually calculated by sCombineFriction)
float ContactSettings::mCombinedRestitution |
Combined restitution for the body pair (usually calculated by sCombineRestitution)
bool ContactSettings::mIsSensor |
If the contact should be treated as a sensor vs body contact (no collision response)