# Class ContactVelocityConstraint

java.lang.Object
com.codename1.gaming.physics.box2d.dynamics.contacts.ContactVelocityConstraint

public class ContactVelocityConstraint extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `ContactVelocityConstraint.VelocityConstraintPoint`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `contactIndex`
  `float`
  `friction`
  `int`
  `indexA`
  `int`
  `indexB`
  `float`
  `invIA`
  `float`
  `invIB`
  `float`
  `invMassA`
  `float`
  `invMassB`
  `final Mat22`
  `K`
  `final Vec2`
  `normal`
  `final Mat22`
  `normalMass`
  `int`
  `pointCount`
  `ContactVelocityConstraint.VelocityConstraintPoint[]`
  `points`
  `float`
  `restitution`
  `float`
  `tangentSpeed`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ContactVelocityConstraint()`

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### points

    public ContactVelocityConstraint.VelocityConstraintPoint[] points

  - ### normal

    public final Vec2 normal

  - ### normalMass

    public final Mat22 normalMass

  - ### K

    public final Mat22 K

  - ### indexA

    public int indexA

  - ### indexB

    public int indexB

  - ### invMassA

    public float invMassA

  - ### invMassB

    public float invMassB

  - ### invIA

    public float invIA

  - ### invIB

    public float invIB

  - ### friction

    public float friction

  - ### restitution

    public float restitution

  - ### tangentSpeed

    public float tangentSpeed

  - ### pointCount

    public int pointCount

  - ### contactIndex

    public int contactIndex

- ## Constructor Details

  - ### ContactVelocityConstraint

    public ContactVelocityConstraint()