# Class ContactImpulse

java.lang.Object
com.codename1.gaming.physics.box2d.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.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `count`
  `float[]`
  `normalImpulses`
  `float[]`
  `tangentImpulses`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ContactImpulse()`

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, 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()