org.jbox2d.callbacks
Class ContactImpulse

java.lang.Object
  extended by org.jbox2d.callbacks.ContactImpulse

public class ContactImpulse
extends 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.

Author:
Daniel Murphy

Field Summary
 int count
           
 float[] normalImpulses
           
 float[] tangentImpulses
           
 
Constructor Summary
ContactImpulse()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

normalImpulses

public float[] normalImpulses

tangentImpulses

public float[] tangentImpulses

count

public int count
Constructor Detail

ContactImpulse

public ContactImpulse()


Copyright © 2013. All Rights Reserved.