APIdia Launch Partner
Top Methods
com.badlogic.gdx.physics.box2d

public Interface ContactListener


Method Summary

Modifier and TypeMethod and Description
public void
beginContact(Contact contact)

Called when two fixtures begin to touch.

public void
endContact(Contact contact)

Called when two fixtures cease to touch.

public void
postSolve(Contact contact, ContactImpulse impulse)

public void
preSolve(Contact contact, Manifold oldManifold)

Method Detail

beginContactback to summary
public void beginContact(Contact contact)

Called when two fixtures begin to touch.

endContactback to summary
public void endContact(Contact contact)

Called when two fixtures cease to touch.

postSolveback to summary
public void postSolve(Contact contact, ContactImpulse impulse)
preSolveback to summary
public void preSolve(Contact contact, Manifold oldManifold)