Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
b2ContactImpulse Struct Reference

`#include <b2WorldCallbacks.h>`

## Public Attributes
float32 | normalImpulses [b2_maxManifoldPoints]
float32 | tangentImpulses [b2_maxManifoldPoints]
int32 | count

## Detailed Description

Contact impulses for reporting. Impulses are used instead of forces because sub-step forces may approach infinity for rigid body collisions. These match up one-to-one with the contact points in b2Manifold.

## Member Data Documentation

int32 count

float32 normalImpulses[b2_maxManifoldPoints]

float32 tangentImpulses[b2_maxManifoldPoints]

The documentation for this struct was generated from the following file:

- Box2D/Dynamics/b2WorldCallbacks.h