public class ContactManager extends Object implements PairCallback
| Modifier and Type | Field and Description |
|---|---|
BroadPhase |
m_broadPhase |
int |
m_contactCount |
ContactFilter |
m_contactFilter |
Contact |
m_contactList |
ContactListener |
m_contactListener |
| Constructor and Description |
|---|
ContactManager(World argPool,
BroadPhase broadPhase) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPair(Object proxyUserDataA,
Object proxyUserDataB)
Broad-phase callback.
|
void |
collide()
This is the top level collision call for the time step.
|
void |
destroy(Contact c) |
void |
findNewContacts() |
public BroadPhase m_broadPhase
public Contact m_contactList
public int m_contactCount
public ContactFilter m_contactFilter
public ContactListener m_contactListener
public ContactManager(World argPool, BroadPhase broadPhase)
public void addPair(Object proxyUserDataA, Object proxyUserDataB)
addPair in interface PairCallbackproxyUserDataA - proxy user data AproxyUserDataB - proxy user data Bpublic void findNewContacts()
public void destroy(Contact c)
public void collide()
Copyright © 2017. All rights reserved.