public class PhysicsCollisionEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_ADDED |
static int |
TYPE_DESTROYED |
static int |
TYPE_PROCESSED |
Constructor and Description |
---|
PhysicsCollisionEvent(int type,
PhysicsCollisionObject source,
PhysicsCollisionObject nodeB,
com.bulletphysics.collision.narrowphase.ManifoldPoint cp) |
public static final int TYPE_ADDED
public static final int TYPE_PROCESSED
public static final int TYPE_DESTROYED
public PhysicsCollisionEvent(int type, PhysicsCollisionObject source, PhysicsCollisionObject nodeB, com.bulletphysics.collision.narrowphase.ManifoldPoint cp)
public void clean()
public void refactor(int type, PhysicsCollisionObject source, PhysicsCollisionObject nodeB, com.bulletphysics.collision.narrowphase.ManifoldPoint cp)
public int getType()
public Spatial getNodeA()
public Spatial getNodeB()
public PhysicsCollisionObject getObjectA()
public PhysicsCollisionObject getObjectB()
public float getAppliedImpulse()
public float getAppliedImpulseLateral1()
public float getAppliedImpulseLateral2()
public float getCombinedFriction()
public float getCombinedRestitution()
public float getDistance1()
public int getIndex0()
public int getIndex1()
public Vector3f getLateralFrictionDir1()
public Vector3f getLateralFrictionDir2()
public boolean isLateralFrictionInitialized()
public int getLifeTime()
public Vector3f getLocalPointA()
public Vector3f getLocalPointB()
public Vector3f getNormalWorldOnB()
public int getPartId0()
public int getPartId1()
public Vector3f getPositionWorldOnA()
public Vector3f getPositionWorldOnB()
public java.lang.Object getUserPersistentData()