Interface RagdollCollisionListener


public interface RagdollCollisionListener
Interface to receive notifications whenever a KinematicRagdollControl collides with another physics object.

This interface is shared between JBullet and Native Bullet.

  • Method Details

    • collide

      void collide(Bone bone, PhysicsCollisionObject object, PhysicsCollisionEvent event)
      Invoked when a collision involving a KinematicRagdollControl occurs.
      Parameters:
      bone - the ragdoll bone that collided (not null)
      object - the collision object that collided with the bone (not null)
      event - other event details (not null)