public interface PhysicsCollisionListener
This interface is shared between JBullet and Native Bullet.
Modifier and Type | Method and Description |
---|---|
void |
collision(PhysicsCollisionEvent event)
Invoked when a collision happened in the PhysicsSpace.
|
void collision(PhysicsCollisionEvent event)
Do not retain the event object, as it will be reused after the collision() method returns. Copy any data you need during the collide() method.
event
- the event that occurred (not null, reusable)