Package org.jbox2d.callbacks
Class ContactImpulse
java.lang.Object
org.jbox2d.callbacks.ContactImpulse
public class ContactImpulse
extends java.lang.Object
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
normalImpulses
public float[] normalImpulses -
tangentImpulses
public float[] tangentImpulses -
count
public int count
-
-
Constructor Details
-
ContactImpulse
public ContactImpulse()
-