Class CcdFilter

java.lang.Object
jme3utilities.minie.CcdFilter
All Implemented Interfaces:
BulletDebugAppState.DebugAppStateFilter

public class CcdFilter extends Object implements BulletDebugAppState.DebugAppStateFilter
A simple DebugAppStateFilter that selects dynamic rigid bodies for which continuous collision detection (CCD) is active.
  • Constructor Details

    • CcdFilter

      public CcdFilter()
      Instantiate a filter.

      This no-arg constructor was made explicit to avoid javadoc warnings from JDK 18+.

  • Method Details

    • displayObject

      public boolean displayObject(Object physicsObject)
      Test whether the specified physics object should be displayed/dumped.
      Specified by:
      displayObject in interface BulletDebugAppState.DebugAppStateFilter
      Parameters:
      physicsObject - the joint or collision object to test (unaffected)
      Returns:
      return true if the object should be displayed/dumped, false if it shouldn't be