com.badlogic.gdx.physics.box2d
Class ContactImpulse
java.lang.Object
com.badlogic.gdx.physics.box2d.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:
- mzechner
getNormalImpulses
public float[] getNormalImpulses()
getTangentImpulses
public float[] getTangentImpulses()
getCount
public int getCount()
Copyright © 2013. All Rights Reserved.