Public Attributes | List of all members
b2ContactImpulse Struct Reference

#include <b2WorldCallbacks.h>

Public Attributes

int32 count
 
float32 normalImpulses [b2_maxManifoldPoints]
 
float32 tangentImpulses [b2_maxManifoldPoints]
 

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.

Definition at line 65 of file b2WorldCallbacks.h.

Member Data Documentation

int32 b2ContactImpulse::count

Definition at line 69 of file b2WorldCallbacks.h.

float32 b2ContactImpulse::normalImpulses[b2_maxManifoldPoints]

Definition at line 67 of file b2WorldCallbacks.h.

float32 b2ContactImpulse::tangentImpulses[b2_maxManifoldPoints]

Definition at line 68 of file b2WorldCallbacks.h.


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


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52