Lines Matching defs:Contact
40 * The class manages contact between two shapes. A contact exists for each overlapping AABB in the
41 * broad-phase (except if filtered). Therefore a contact object may exist that has no contact
46 public abstract class Contact {
49 // Used when crawling contact graph when forming islands.
53 // This contact can be disabled (by user)
55 // This contact needs filtering because a fixture filter was changed.
57 // This bullet contact had a TOI event
65 public Contact m_prev;
66 public Contact m_next;
90 protected Contact(IWorldPool argPool) {
114 m_nodeA.contact = null;
119 m_nodeB.contact = null;
125 m_friction = Contact.mixFriction(fA.m_friction, fB.m_friction);
126 m_restitution = Contact.mixRestitution(fA.m_restitution, fB.m_restitution);
132 * Get the contact manifold. Do not set the point count to zero. Instead call Disable.
152 * Is this contact touching
161 * Enable/disable this contact. This can be used inside the pre-solve contact listener. The
162 * contact is only disabled for the current time step (or sub-step in continuous collisions).
175 * Has this contact been disabled?
184 * Get the next contact in the world's contact list.
188 public Contact getNext() {
193 * Get the first fixture in this contact.
206 * Get the second fixture in this contact.
227 m_friction = Contact.mixFriction(m_fixtureA.m_friction, m_fixtureB.m_friction);
239 m_restitution = Contact.mixRestitution(m_fixtureA.m_restitution, m_fixtureB.m_restitution);
253 * Flag this contact for filtering. Filtering will occur the next time step.
266 // Re-enable this contact.
294 // Match old contact ids to new contact ids and copy the