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.

Author:
Nehon
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    collide(com.jme3.animation.Bone bone, PhysicsCollisionObject object, PhysicsCollisionEvent event)
    Invoked when a collision involving a KinematicRagdollControl occurs.
  • Method Details

    • collide

      void collide(com.jme3.animation.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)