com.bulletphysics.collision.dispatch
Class ManifoldResult

java.lang.Object
  extended by com.bulletphysics.collision.narrowphase.DiscreteCollisionDetectorInterface.Result
      extended by com.bulletphysics.collision.dispatch.ManifoldResult

public class ManifoldResult
extends DiscreteCollisionDetectorInterface.Result

ManifoldResult is helper class to manage contact results.


Constructor Summary
ManifoldResult()
           
ManifoldResult(CollisionObject body0, CollisionObject body1)
           
 
Method Summary
 void addContactPoint(Vector3f normalOnBInWorld, Vector3f pointInWorld, float depth)
           
 PersistentManifold getPersistentManifold()
           
 void init(CollisionObject body0, CollisionObject body1)
           
 void refreshContactPoints()
           
 void setPersistentManifold(PersistentManifold manifoldPtr)
           
 void setShapeIdentifiers(int partId0, int index0, int partId1, int index1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManifoldResult

public ManifoldResult()

ManifoldResult

public ManifoldResult(CollisionObject body0,
                      CollisionObject body1)
Method Detail

init

public void init(CollisionObject body0,
                 CollisionObject body1)

getPersistentManifold

public PersistentManifold getPersistentManifold()

setPersistentManifold

public void setPersistentManifold(PersistentManifold manifoldPtr)

setShapeIdentifiers

public void setShapeIdentifiers(int partId0,
                                int index0,
                                int partId1,
                                int index1)
Specified by:
setShapeIdentifiers in class DiscreteCollisionDetectorInterface.Result

addContactPoint

public void addContactPoint(Vector3f normalOnBInWorld,
                            Vector3f pointInWorld,
                            float depth)
Specified by:
addContactPoint in class DiscreteCollisionDetectorInterface.Result

refreshContactPoints

public void refreshContactPoints()