Box2D: b2ContactImpulse Struct Reference

| Box2D 2.4.1 A 2D physics engine for games

Loading...
Searching...
No Matches
Public Attributes | List of all members
b2ContactImpulse Struct Reference

`#include <b2_world_callbacks.h>`

## Public Attributes
float | normalImpulses [b2_maxManifoldPoints]
float | 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.

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

- /build/box2d/src/box2d-2.4.2/include/box2d/b2_world_callbacks.h