com.bulletphysics
Class ContactAddedCallback
java.lang.Object
com.bulletphysics.ContactAddedCallback
public abstract class ContactAddedCallback
- extends Object
Called when contact has been created between two collision objects. At least
one of object must have CollisionFlags.CUSTOM_MATERIAL_CALLBACK
flag set.
- See Also:
BulletGlobals.setContactAddedCallback(com.bulletphysics.ContactAddedCallback)
ContactAddedCallback
public ContactAddedCallback()
contactAdded
public abstract boolean contactAdded(ManifoldPoint cp,
CollisionObject colObj0,
int partId0,
int index0,
CollisionObject colObj1,
int partId1,
int index1)