Uses of Interface
org.dyn4j.dynamics.contact.Contact
-
Packages that use Contact Package Description org.dyn4j.dynamics.contact Sub package of the Dynamics package handling contacts.org.dyn4j.world.listener Package contains the listeners used in theCollisionWorld
andPhysicsWorld
classes to notify a user of events occurring in the engine. -
-
Uses of Contact in org.dyn4j.dynamics.contact
Subinterfaces of Contact in org.dyn4j.dynamics.contact Modifier and Type Interface Description interface
SolvedContact
Represents a contact that has been solved.Methods in org.dyn4j.dynamics.contact with parameters of type Contact Modifier and Type Method Description void
ContactUpdateHandler. begin(Contact contact)
Called when the given contact is a new contact.void
ContactUpdateHandler. end(Contact contact)
Called when the given contact was ended.void
ContactUpdateHandler. persist(Contact oldContact, Contact newContact)
Called when the given contact was persisted. -
Uses of Contact in org.dyn4j.world.listener
Methods in org.dyn4j.world.listener with parameters of type Contact Modifier and Type Method Description void
ContactListener. begin(ContactCollisionData<T> collision, Contact contact)
Called when twoBodyFixture
s begin to overlap, generating a contact point.void
ContactListenerAdapter. begin(ContactCollisionData<T> collision, Contact contact)
void
ContactListener. destroyed(ContactCollisionData<T> collision, Contact contact)
Called when a body or fixture is removed from the world that had existing contacts.void
ContactListenerAdapter. destroyed(ContactCollisionData<T> collision, Contact contact)
void
ContactListener. end(ContactCollisionData<T> collision, Contact contact)
Called when twoBodyFixture
s begin to separate and the contact point is no longer valid.void
ContactListenerAdapter. end(ContactCollisionData<T> collision, Contact contact)
void
ContactListener. persist(ContactCollisionData<T> collision, Contact oldContact, Contact newContact)
Called when twoBodyFixture
s remain in contact.void
ContactListenerAdapter. persist(ContactCollisionData<T> collision, Contact oldContact, Contact newContact)
void
ContactListener. preSolve(ContactCollisionData<T> collision, Contact contact)
Called before contact constraints are solved.void
ContactListenerAdapter. preSolve(ContactCollisionData<T> collision, Contact contact)
-