com.bulletphysics
Class ContactAddedCallback

java.lang.Object
  extended by 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)

Constructor Summary
ContactAddedCallback()
           
 
Method Summary
abstract  boolean contactAdded(ManifoldPoint cp, CollisionObject colObj0, int partId0, int index0, CollisionObject colObj1, int partId1, int index1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactAddedCallback

public ContactAddedCallback()
Method Detail

contactAdded

public abstract boolean contactAdded(ManifoldPoint cp,
                                     CollisionObject colObj0,
                                     int partId0,
                                     int index0,
                                     CollisionObject colObj1,
                                     int partId1,
                                     int index1)