Box2D 2.4.1
A 2D physics engine for games
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: