com.bulletphysics.collision.dispatch
Class ManifoldResult
java.lang.Object
com.bulletphysics.collision.narrowphase.DiscreteCollisionDetectorInterface.Result
com.bulletphysics.collision.dispatch.ManifoldResult
public class ManifoldResult
- extends DiscreteCollisionDetectorInterface.Result
ManifoldResult is helper class to manage contact results.
ManifoldResult
public ManifoldResult()
ManifoldResult
public ManifoldResult(CollisionObject body0,
CollisionObject body1)
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()